Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dears,
Need your support to correct the DAX in Image 2 (Measure [PlanLatestDocAmt]) to get customer wise (Cr. Name Column), in that visual Agrmnt column totals are comming properly where as the subtotal showing under each customer is wrong. Ideally the customer wise total is sum of all Agrmnt under that particular customer.
Measure [PlanLatestDocAmt] : - What am trying to achive under this measure is , find the latest transaction of each Agrmnt column and bring the LC Amt column value in to visualizaition by Customer (Cr. Name) & by Agrmnt.
Latest transaction means , last transaction date & lates document number.
Image 1 : -
Image 2 : -
Regards,
Ansar.
Solved! Go to Solution.
Hi @ansar ,
You can create another new measure as below and put it on the matrix to replace the original measure [PlanLatestDocAmt]:
New Measure= SUMX ( VALUES ( 'GLData'[Document Number] ), [PlanLatestDocAmt] )
If the above one can't help you, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Thanks you so much @Anonymous really appreciated, it works well
Hi @ansar ,
You can create another new measure as below and put it on the matrix to replace the original measure [PlanLatestDocAmt]:
New Measure= SUMX ( VALUES ( 'GLData'[Document Number] ), [PlanLatestDocAmt] )
If the above one can't help you, please provide some raw data in your table (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |