Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
Column totals are showing the last filled value in the row instead of the row total in the table. What is causing this?
Table shows the values (in this case) or percentages switched by a bookmark
Measure_selection lines =
SWITCH( UPPER(SELECTEDVALUE(Slicer_table[Key])),
"YTD_OTAE",[YTD_inbound_lines_in_time_or_early],
"YTD_OT",[YTD_inbound_lines_in_time],
"YTD_E",[YTD_inbound_lines_early],
"YTD_L",[YTD_inbound_lines_late],
"MTD_OTAE",[MTD_inbound_lines_in_time_or_early],
"MTD_OT",[MTD_inbound_lines_in_time],
"MTD_E",[MTD_inbound_lines_early],
"MTD_L",[MTD_inbound_lines_late],
"RT_OTAE",[Running_total_on_time_and_early],
"RT_OT",[Running_total_on_time],
"RT_E",[Running_total_early],
"RT_L",[Running_total_late],
BLANK()
)
Solved! Go to Solution.
Hi @Hyperchef1969 ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table1.
2.Create the new measure to calculate row totals.
Total = SUMX('Table 1', SUM('Table 1'[2023/10]) + SUM('Table 1'[2023/11]) + SUM('Table 1'[2023/12]) + SUM('Table 1'[2024/01]) + SUM('Table 1'[2024/02]))
3.Drag the measure into the table visual. The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Hyperchef1969 ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table1.
2.Create the new measure to calculate row totals.
Total = SUMX('Table 1', SUM('Table 1'[2023/10]) + SUM('Table 1'[2023/11]) + SUM('Table 1'[2023/12]) + SUM('Table 1'[2024/01]) + SUM('Table 1'[2024/02]))
3.Drag the measure into the table visual. The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Hyperchef1969 First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
117 | |
84 | |
49 | |
38 | |
28 |
User | Count |
---|---|
189 | |
76 | |
73 | |
54 | |
42 |