Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
7 | |
6 | |
5 |
User | Count |
---|---|
20 | |
11 | |
10 | |
9 | |
6 |