Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Not getting complete data in ssrs Report

Posted on by 95

I have created a SSRS  report in which It shows few items not complete I have tried a lot but not getting the issue 

In visual studio i used Matrix Report 

It should have to show 20 Items against ItemGroupId but it Shows only 4 items ,

pastedimage1605592408650v1.pngpastedimage1605592508713v2.png

what should be the possible error 

here is DP class

private void insertTmpTable()
{
    QueryRun queryrun = new QueryRun(this.parmQuery());


    InventTrans inventTrans;
    InventTable  inventTable;
    PurchLine  purchLine;
    InventItemGroupItem  inventItemGroupItem ;

     ProcCategoryCommodityCodesContract  contract = this.parmDataContract() as ProcCategoryCommodityCodesContract;



    while (queryrun.next())
    {
        inventTable    =   queryrun.get(tableNum(inventTable));
        inventTrans    =   queryrun.get(tableNum(InventTrans));
        purchLine      =   queryrun.get(tableNum(purchLine));


         purchaseCategoryTmp.FromDate = fromDate;
        purchaseCategoryTmp.ToDate = toDate;



            //purchaseCategoryTmp.ItemId         = inventTrans.ItemId;
            purchaseCategoryTmp.ItemId         =inventTable.ItemId;
            purchaseCategoryTmp.ItemName       = inventTable::find(purchaseCategoryTmp.ItemId).itemName();
            purchaseCategoryTmp.PurchPrice     = purchLine.PurchPrice;
            purchaseCategoryTmp.HigestPrice    = this.HigestPrice(purchaseCategoryTmp.ItemId);
            purchaseCategoryTmp.LowestPrice    = this.LowestPrice(purchaseCategoryTmp.ItemId);
            purchaseCategoryTmp.Qty            = this.TotalQty(purchaseCategoryTmp.ItemId);
            purchaseCategoryTmp.ItemGroupId    = InventItemGroupItem::findByItemIdLegalEntity(purchaseCategoryTmp.ItemId).ItemGroupId;

            purchaseCategoryTmp.insert();
    }
}

Please guide me 

  • AXx Profile Picture
    AXx 95 on at
    RE: Not getting complete data in ssrs Report

    I have set "group by" on itemid  and  itemgoupId only

  • Suggested answer
    Khurshid Wali Profile Picture
    Khurshid Wali 922 on at
    RE: Not getting complete data in ssrs Report

    Hi AXx,

    Check your tablix grouping. I think you set "group by" to another field instead of Item Id and itemgoupId.

    To verify add another new tablix with the same dataset without any grouping.

  • AXx Profile Picture
    AXx 95 on at
    RE: Not getting complete data in ssrs Report

    Here is process report 

    [SysEntryPointAttribute(false)]
    public void processReport()
    {
        ProcCategoryCommodityCodesContract procCategoryCommodityCodesContract;
        ProcCategoryCommodityCodesContract = this.parmDataContract();
    
        fromDate   = ProcCategoryCommodityCodesContract.parmFromDate();
        toDate     = ProcCategoryCommodityCodesContract.parmToDate();
    
        delete_from purchaseCategoryTmp;
        this.insertTmpTable();
    
    }

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: Not getting complete data in ssrs Report

    Hi Axx,

    How about your processReport()? any filter?

    Have you debugged your code? Confirm whether the data obtained by the query is 20, or whether there is a null value setting, etc.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans