Forum Discussion
PeterNowak
5 years agoFrequent Visitor
IF (?) formula with multiple conditions
Hello, I'm looking for solution how can I create measure which will help me later in filtering. I'm live connected to transaction database with customer data etc. I need to create measure(?) wi...
Anonymous
5 years agoNot applicable
Hi PeterNowak ,
According to your description, I created some data to show:
Here are the steps you can follow:
1. Create calculated column.
Month = MONTH('Table (2)'[Date])2. Create measure.
Measure =
var _1=CALCULATE(SUM('Table (2)'[amount]),FILTER(ALL('Table (2)'),'Table (2)'[Month]=MAX('Table (2)'[Month])))
return IF(_1>200 && MAX('Table (2)'[amount])>20,_1,BLANK())3. Result.
You can downloaded PBIX file from here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.