Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello, I am trying to get a "total of cost variance". At row level I get the correct cost variation but the total does not add up. I refered to couple of other post with similar issue but my case is different since my measure has a combination of average and substraction. I have pasted the data table here. Also, in 2nd table, the highlightes area is where the issue is. I am using following to DAX calculations. FIrst one to get just average variance per truck and 2nd to create master meaure column to use in my view.
Solved! Go to Solution.
Hello @Anonymous,
You can try using the following measure to plot in the matrix:
Total Measure = SUMX(SUMMARIZE(PTA,PTA[Lane]),[Total TL Variance])
Hope this helps.
Hi @Anonymous ,
You could use ISINSCOPE() function to set the value of total row.
Could you please share your sample data and excepted result to me if you don't have any confidential information. Please upload your files to One Drive and share the link here.
If possible please share a sample pbix file after removing sensitive information.
You are using distinctcount in one formula and distinct count at GT level might not sum of the line level. so can show diff.
Thanks
Read and like My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
Hello @Anonymous,
You can try using the following measure to plot in the matrix:
Total Measure = SUMX(SUMMARIZE(PTA,PTA[Lane]),[Total TL Variance])
Hope this helps.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
80 | |
53 | |
39 | |
39 |
User | Count |
---|---|
104 | |
85 | |
47 | |
44 | |
43 |