Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I've a text field called "Version" which can contains V1.0, V2.0 etc ...
Users can make any selections on the version field, then I want to display in a matrix table a column with a calculation for minimum version and a column for maximum version. If we focus only on minimum version :
I create a measure to calculate the min selected version :
BUDGET_MIN = CALCULATE(MIN(data[VERSION]),ALLSELECTED(data[VERSION]))
=> it works
My normal calculation :
BUDGET = CALCULATE( Sum(data[AMOUNT]),FILTER(data,data[CATEGORY]<>"HOURS"))
=> it works
Note : for filter FILTER(data,data[ACCOUNT]<>"HOURS"), we juste need to keep in mind, we need that filter (no matter what it does).
Now i'd like to create a measure calculating the Budget for the minimal budget version, I tried :
CALCULATE(
Sum(data[AMOUNT]),
FILTER(data,data[CATEGORY]<>"HOURS"),
FILTER(data,data[VERSION]=measures[BUDGET_MAX])
)
or else
CALCULATE(
Sum(data[AMOUNT]),
ALLSELECTED(data[VERSION]),
FILTER(data,data[CATEGORY]<>"HOURS"),
FILTER(data,data[VERSION]=measures[BUDGET_MAX])
)
it doesn't (data are not of the right Version)
could you please help me about the correct syntax please ?
Best regards
Here is a little sample :
-----
Edit : do you know how to attach a pbix ? it doesn't seems to work
you have to share a OneDrive link
Hi @Bebs ,
I'm not sure what the data will look like.
Could you please provide me with some sample data for testing? Please delete sensitive private data.
Best Regards,
Community Support Team _Yinliw
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!