Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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/
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
86 | |
86 | |
84 | |
67 | |
49 |
User | Count |
---|---|
131 | |
110 | |
97 | |
71 | |
67 |