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,
I have this visual matrix where I show some results from a measure:
The measure used is:
The Table1 is something like this (the 'results' are just examples):
Shipper | Date | Results |
SHIPPER 1--- | jul/22--- | 102 |
SHIPPER 2--- | jul/22--- | 408 |
SHIPPER 3--- | jul/22--- | 502 |
SHIPPER 4--- | jul/22--- | 42 |
SHIPPER 5--- | jul/22--- | 4 |
SHIPPER 6--- | jul/22--- | 21 |
SHIPPER 7--- | jul/22--- | 525 |
SHIPPER 1--- | ago/22--- | 78 |
SHIPPER 2--- | ago/22--- | 213 |
SHIPPER 3--- | ago/22--- | 210 |
SHIPPER 4--- | ago/22--- | 802 |
SHIPPER 5--- | ago/22--- | 20 |
SHIPPER 6--- | ago/22--- | 17 |
SHIPPER 7--- | ago/22--- | 43 |
etc...--- | etc...--- | etc... |
Thank you for your help, community,
Solved! Go to Solution.
Hi @Anonymous ,
You can change ALLSELECT() to ALL()
Measure2 =
SUM('Table1'[Results]) / CALCULATE( SUM('Table1'[Results]) , ALL('Table1'), VALUES('Table1'[Date]))
The ALLSELECT() function preserves the context beyond the explicit filters and the row and column filters, and the values change as the data is filtered.
ALLSELECTED function (DAX) - DAX | Microsoft Learn
The ALL() function returns all values in all rows or columns of a table, ignoring any filters that may have been applied.
ALL function (DAX) - DAX | Microsoft Learn
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 @Anonymous ,
You can change ALLSELECT() to ALL()
Measure2 =
SUM('Table1'[Results]) / CALCULATE( SUM('Table1'[Results]) , ALL('Table1'), VALUES('Table1'[Date]))
The ALLSELECT() function preserves the context beyond the explicit filters and the row and column filters, and the values change as the data is filtered.
ALLSELECTED function (DAX) - DAX | Microsoft Learn
The ALL() function returns all values in all rows or columns of a table, ignoring any filters that may have been applied.
ALL function (DAX) - DAX | Microsoft Learn
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
14 | |
11 | |
8 |
User | Count |
---|---|
24 | |
19 | |
12 | |
11 | |
10 |