The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello, suppose these are the records:
Based on the above recordes, I was trying to get the below aggregated table in Report Builder - basically it calculates the payment groupped by Customer ID and State:
I tried a few times of placing State, Customer ID and Payment in Row/Column groups and Values
, but can't get the desired result.
Solved! Go to Solution.
Hiii @OceanExplorer
Insert a Table
Assign Fields to Rows & Values
Ensure Aggregation is Correct
Run the Report
If this helps, I would appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!
Hiii @OceanExplorer
Insert a Table
Assign Fields to Rows & Values
Ensure Aggregation is Correct
Run the Report
If this helps, I would appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!
Thank you, I got it solved by adding something extra on top of your steps. Because I don't want to see the + Expanded/Collapse view, I need to leave "Expand/collapse groups" box unchecked.
Hi @OceanExplorer ,
1. Navigate to insert --> Table --> Table Wizard. Select the data set from the wizard.
2. From the list of columns, drag and drop state and customer id in the Row Group section and payment to values section and right click on payment and change it to sum. resulting wizard will be as shown below.
3. Click on Next and Finish it. It will add the table to the report. Click on run and the expected results are shown as below.
Hope this answers your query.
@OceanExplorer as a tablix visual, put state, customer id, and in the 3rd column add expression, and in the expression add sum of the payment column and that should do it.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi Parry2k, could you specify the sum expression for the 3rd column payment? I right-click on the value cell of the 3rd columns and entered =sum(Field!Payment.Value), but the result still didn't group the customer ID, I am still seeing multiple records/rows for the same customer ID.
Hi OceanExplorer,
Have you tried dragging and dropping the columns to the groups?
Are you working in PBI web right?
User | Count |
---|---|
86 | |
84 | |
34 | |
34 | |
33 |
User | Count |
---|---|
94 | |
79 | |
63 | |
55 | |
51 |