Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a card visual with the measure:
Solved! Go to Solution.
Thank you for the detailed response - it looks like the issue is not with the measure but with my table relationships.
Hi @hahl ,
Based on my test, I cannot reproduce your issue here using Power bi desktop version : 2.76.5678.541 64-bit (December 2019). Could you please update your desktop and check agian?
Or you can update your measure as below to have a try.
AtCapacity =
VAR office =
SELECTEDVALUE ( 'PC'[Office] )
VAR region =
SELECTEDVALUE ( 'PC'[Region] )
RETURN
IF (
office <> BLANK (),
CALCULATE (
SUM ( 'T'[AtCapacity] ) * DISTINCTCOUNT ( 'Date'[Last Day of Work Week] ),
FILTER ( 'PCE', 'PCE'[Office] = office )
),
IF (
region <> BLANK (),
CALCULATE (
SUM ( 'T'[AtCapacity] ) * DISTINCTCOUNT ( 'Date'[Last Day of Work Week] ),
FILTER ( 'PCE', 'PCE'[Region] = region )
),
SUM ( 'T'[AtCapacity] ) * DISTINCTCOUNT ( 'Date'[Last Day of Work Week] )
)
)
If the issue still occur, kindly share your sample data to me to have a test if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Thank you for the detailed response - it looks like the issue is not with the measure but with my table relationships.
Hi @hahl ,
Has your issue been solved? If so kindly mark my answer as a solution to close the case. Thanks in advance. Any other question, feel free to let me know please.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |