Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I want to understand, why I am not getting totals in some senarios in the table. Why does this happen and what I must do to avoid this?
The measures I used are:
1.
Totals not showing
Totals is showing
Solved! Go to Solution.
Hi @Anonymous
In the Total row there are no filters applied. Your SELECTEDVALUE expressions will thus return blank, since there is more than one value in the specified column (see https://dax.guide/selectedvalue/ )
You will either have to update the code of the meausures to take this into account or create another one based on what you have. This is assuming you have 'dDate'[Week No.] and 'dDate'[Year] in the rows of your visual:
0_Last week Cost of Freight_TOTAL =
SUMX(SUMMARIZE('dDate', 'dDate'[Week No.], 'dDate'[Year]), [0_Last week Cost of Freight])
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers
Hi @Anonymous
In the Total row there are no filters applied. Your SELECTEDVALUE expressions will thus return blank, since there is more than one value in the specified column (see https://dax.guide/selectedvalue/ )
You will either have to update the code of the meausures to take this into account or create another one based on what you have. This is assuming you have 'dDate'[Week No.] and 'dDate'[Year] in the rows of your visual:
0_Last week Cost of Freight_TOTAL =
SUMX(SUMMARIZE('dDate', 'dDate'[Week No.], 'dDate'[Year]), [0_Last week Cost of Freight])
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers
The same problem still exist while using a different formula, I want to understand why does this happen.
1. _Loadability by cases per trips =
CALCULATE(
DIVIDE([0_Total Volume Shipped by Cases],[0_Total Shipments],BLANK())
)
2. last month loadability BCPT =
CALCULATE(
[ _Loadability by cases per trips ],DATEADD(dDate[Date],-1,MONTH))
3. Trips saved VS last Month =
CALCULATE(
IF([last month loadability BCPT]=0,BLANK(),
CALCULATE(
(DIVIDE
([0_Total Volume Shipped by Cases],[last month loadability BCPT],BLANK())-[0_Total Shipments])
)))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
20 | |
15 | |
10 | |
10 | |
10 |
User | Count |
---|---|
15 | |
13 | |
11 | |
11 | |
10 |