The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
I couldn't find the solution although it seems easy to do....
Here's the Data (simplified) :
I'm using a dropdown like this to select a month (and not a slicer) :
And what I want to do with measure is :
Sum(Quantity) where year = 2023 and type = "Sale" and month between 1 and SELECTEDVALUE(Data[Month])
The Result should be :
Nike | 0 |
Hummel | 500 |
Thank you.
@Mihaw ,
Measure = calculate(Sum(Table[Quantity]), filter(Table, Table[year] = 2023))
if the month slicer is from this table. then it will filter