Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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.
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |