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
Hi,
Can someone help me with the following issue: I am using a matrix visual and I want to divide the row values with a fixed value (measure). At the moment the measure value is also splitting in categories, but I don’t want that. See below for an example:
Expected situation:
Category, Count of serial number, % of Measure
A , 20 , 20 / (500) measure
B, 50 , 20 / (500) measure
C, 1, 20 / (500) measure
D, 60, 20 / (500) measure
Current situation: Measure = 500
Category, Count of serial number, % of Measure
A , 20 , 20 / (30) measure
B, 50 , 20 / (150) measure
C, 1, 20 / (100) measure
D, 60, 20 / (220) measure
Solved! Go to Solution.
Hi @BYENER
This should work.
Measure =
CALCULATE(
[Screening Volume],
ALLSELECTED()
)
Hi @BYENER
You can try something like.
% Sales =
DIVIDE(
[Sales],
CALCULATE(
[Sales],
ALLSELECTED(),
VALUES( 'Calendar'[Year Week] )
)
)
Hi @BYENER
Try / CALCULATE( [Measure], ALL( table[Category] ) )
Hi @BYENER
How about Try / CALCULATE( [Measure], ALL( your table ) )
@Mariusz , still the same issue. Maybe it's more clear when I show some screenshots.
The Card visual is the total processed volume in week 52 for origin "NL". This measure is based on the "screening" table. The matrix "category" is based on the "WIP" table. The Measure column have to show the same number as the card visual.
Hi @BYENER
This should work.
Measure =
CALCULATE(
[Screening Volume],
ALLSELECTED()
)
@Mariusz one more question, when I select multiple weeks then it are dividing by the total number of the selected weeks. It have to be divide by the total number per week, because the columns in the matrix are split in weeks.
For example: total number of week 52 = 14358 , but it's dividing by 1.353.683 because all weeks are selected.
Hi @BYENER
You can try something like.
% Sales =
DIVIDE(
[Sales],
CALCULATE(
[Sales],
ALLSELECTED(),
VALUES( 'Calendar'[Year Week] )
)
)
Hi @BYENER ,
If it is sloved, could you kindly accept it as a solution to close this case?
Best Regards,
Lionel Chen
If possible please share a sample pbix file after removing sensitive information.Thanks.
My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
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 |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |