March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello ,
I want to visulaize data in matrix.
the rows of matrix are respectely: Provice, City.
the column is months which are 2 months
the value of the matrix is the below measure:
Solved! Go to Solution.
Another possible solution could be to use the ALLEXCEPT function instead of the ALL function. The ALLEXCEPT function removes all filters from a table except for filters on specified columns. You can try using this function to remove all filters from your sale table except for filters on the Province and City columns.
Here’s an example of how you could use the ALLEXCEPT function in your measure:
CALCULATE(
SUM('sale'[quantity]),
ALLEXCEPT('sale', 'sale'[Province], 'sale'[City])
)
I hope this helps! Let me know if you have any further questions. 😊
Another possible solution could be to use the ALLEXCEPT function instead of the ALL function. The ALLEXCEPT function removes all filters from a table except for filters on specified columns. You can try using this function to remove all filters from your sale table except for filters on the Province and City columns.
Here’s an example of how you could use the ALLEXCEPT function in your measure:
CALCULATE(
SUM('sale'[quantity]),
ALLEXCEPT('sale', 'sale'[Province], 'sale'[City])
)
I hope this helps! Let me know if you have any further questions. 😊
Hi razieh12,
It seems that you are trying to use the ALL function to remove the filter context from the months column in your sale table. However, when you drill down to the second level of your matrix, the ALL function is not working as expected.
One possible reason for this issue could be that there are other filters or slicers affecting the data in your matrix. You may want to check if there are any other filters or slicers applied to your data that could be affecting the results of your measure.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
15 | |
7 | |
6 |
User | Count |
---|---|
33 | |
29 | |
16 | |
13 | |
12 |