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.
Hi,
I have a Power BI report based on the Tabular SSAS.
There is the following dimenstion table:
ColumnA | Column B
Europe | E
Asia | A
America | A
America | AT
Report has only one slicer (ColumnA).
I need to create a measure based on the fact table which works according to the following:
Measure works fine :
The issue is that I would like to set additional filter on the column B and calculate only for those values when the other measure is greater or equal 1.
I've tried but it does not work:
Solved! Go to Solution.
@Anonymous , Try like
Measure2 = CALCULATE(Measure1,
FILTER(VALUES('Table'[Column B]), [Measure3]>=1))
or
Measure2 = CALCULATE(Measure1,
FILTER(VALUES('Table'[Column B]), [Measure3]>=1), All(Table) )
I am not sure on the need of 'Table'[Column B] IN VALUES('Table'[Column B]) , from same table
@Anonymous , Try like
Measure2 = CALCULATE(Measure1,
FILTER(VALUES('Table'[Column B]), [Measure3]>=1))
or
Measure2 = CALCULATE(Measure1,
FILTER(VALUES('Table'[Column B]), [Measure3]>=1), All(Table) )
I am not sure on the need of 'Table'[Column B] IN VALUES('Table'[Column B]) , from same table
Thanks a lot, it works ! 🙂
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |