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 everyone,
I am looking to make a matrix that can show the weight shipped per month and the share of maritime on the total for each month/year. So far so good :
The problem is that on my totals, I do find the total weight shipped (sum) but on the total SEA% I would like to have an average for the year, but this is not the case.
For the weight I used this formula Total weight formula = SUMX(File1,File1[Total Weight])
For the Sea%, I used 2 measures :
Do you have an idea for the average of the % of maritime to appear next to the sum of the weight?
Thank you.
Ilias
Solved! Go to Solution.
@Anonymous , You can use isinscope or hasonevalue to change the grand total
https://xxlbi.com/blog/new-dax-function-isinscope/
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
Hi @Anonymous,
You can take a look at the following link to use if statement with the filters to check current row context level and replace the calculation expressions:
Clever Hierarchy Handling in DAX - SQLBI
Regards,
Xiaoxin Sheng
@Anonymous , You can use isinscope or hasonevalue to change the grand total
https://xxlbi.com/blog/new-dax-function-isinscope/
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
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.
User | Count |
---|---|
118 | |
87 | |
75 | |
53 | |
45 |
User | Count |
---|---|
135 | |
121 | |
77 | |
65 | |
64 |