Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
12 | |
9 | |
9 | |
9 |
User | Count |
---|---|
21 | |
14 | |
14 | |
13 | |
13 |