The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
If this has already been requested then please direct me to it but I would like PowerBI to give more options in the visualization of table data.
If I am sorting by Average, Minumim, Maxmimum, or Count, then 'Total' should change too. It's misleading for the viewer. 'Total' should only be displayed if it's the Sum.
Solved! Go to Solution.
Hi @water-guy-5 ,
You can use HASONEVALUE to resolve.
I created some data:
Here are the steps you can follow:
1. Create measure.
Calculate Sum =
var Table1=SUMMARIZE('Table','Table'[Date],"_value",[Measure_Sum])
return IF(HASONEVALUE('Table'[Date]),[Measure_Sum],SUMX(Table1,[_value]))
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @water-guy-5 ,
You can use HASONEVALUE to resolve.
I created some data:
Here are the steps you can follow:
1. Create measure.
Calculate Sum =
var Table1=SUMMARIZE('Table','Table'[Date],"_value",[Measure_Sum])
return IF(HASONEVALUE('Table'[Date]),[Measure_Sum],SUMX(Table1,[_value]))
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Normally you would use ISINSCOPE to filter out totals. Something along the lines of
Filter out totals = IF(ISINSCOPE (Table[Column]), [measure])
Proud to be a Super User!
Paul on Linkedin.
User | Count |
---|---|
65 | |
62 | |
60 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |