Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Good Afternoon All
I am looking to create a measure to add my columns together, but am struggling 😞
i have created a measure to calcualte agent bonus, as you can see from below this is in a matrix table seperated by a Week commecing date. (therefore te one measure)
I would like to add a 'Total' column at the end adding up the values. Can this be done?
Solved! Go to Solution.
Hi @ianboothman84 ,
The following should work for you, reference your base measure inside a SUMX
CA BONUS SUMX = SUMX(KEEPFILTERS(VALUES('U&R'[Week Num])), [CA Bonus])
Proud to be a Super User!
Hi @ianboothman84 ,
I think it need to create a new measure and use if (hasonevalue,A,sumx(table,beforemeasure).
Could you pls share your pbix file ,need to test it .
Best Regards
Lucien
Please provide sample data in usable format (not as a picture - maybe insert into a table?) and show the expected outcome.
You have probably used SELECTEDVALUE() in your measure. That's not a thing in the totals. Rewrite your measure.
Hi @lbendlin , thank you for your reply. my measure is a simple on
In the settings of your matrix visual enable Column subtotals
Hi @ianboothman84 ,
The following should work for you, reference your base measure inside a SUMX
CA BONUS SUMX = SUMX(KEEPFILTERS(VALUES('U&R'[Week Num])), [CA Bonus])
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |