Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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/
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
99 | |
72 | |
44 | |
38 | |
30 |
User | Count |
---|---|
157 | |
90 | |
62 | |
46 | |
40 |