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 the following
Hi @sustainhort
Please try
Source Use Gain Production =
CALCULATE (
SUM ( 'Business Crop Schedule'[Value] ),
FILTER (
VALUES ( 'Business Crop Schedule'[Sub Type] ),
'Business Crop Schedule'[Sub Type] = "Production Number"
)
)
or
Source Use Gain Production =
CALCULATE (
SUM ( 'Business Crop Schedule'[Value] ),
KEEPFILTERS ( 'Business Crop Schedule'[Sub Type] = "Production Number" )
)
Hi,
I am not sure how your datamodel looks like, but I assume the column that you want to filter inside the measure is sorted by another column. If my assumption is correct, please try inserting that column as well into the measure.
Source Use Gain Production =
CALCULATE (
SUM ( 'Business Crop Schedule'[Value] ),
FILTER (
ALL (
'Business Crop Schedule'[Sub Type],
'Business Crop Schedule'[Sub Type Index number]
),
'Business Crop Schedule'[Sub Type] = "Production Number"
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi thanks for replying, it is filter from another data table what would be the workaround for that cheers
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 |
---|---|
42 | |
21 | |
21 | |
14 | |
14 |
User | Count |
---|---|
43 | |
39 | |
33 | |
18 | |
17 |