Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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.
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
22 | |
11 | |
10 | |
10 | |
8 |