The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
HI, I am still learning BI and need your help on the below:
First problem is the total for the avg column does not average properly (have tried, sumx and avgx)
Second problem, is my KGS container utlization % and CBM Container utilization% - the averages for the rows calcuate correctly but the total avg does not calcuate the average properly. This time both both KGS container utlization and CBM container utlization are using measures per below:
Hi @Anonymous ,
You could custom your total values like the following DAX with ISINSCOPE() function:
Measure =
IF (
ISINSCOPE ( 'Table'[KGS] ),
[Avg KGS per HBL],
AVERAGEX ( ALLSELECTED ( 'Table' ), [Avg KGS per HBL] )
)
HI V-achen, I tried your formula and the total for the average column is still wrong
HI Amit,
Thanks for your help but the total is still not correct. See notes below:
@Anonymous ,
Try like
AverageX(summarize(Table,Table[Origin],"_1",[Avg KGS per HBL]),[_1])
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
115 | |
82 | |
77 | |
48 | |
39 |
User | Count |
---|---|
150 | |
117 | |
67 | |
64 | |
56 |