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.
Hello,
I have the following measures in a measures table:
TotalPoints = 54890
TotalPointsBlue = 16340
TotalPointsBlueLight =7450
And a "EventPoints" table
Event Action
event1 1
event2 1
event3 0
event4 1
event5 0
event6 1
event7 0
How can I create a measures that counts the "1" values of the Action column, filtering the records that belong to "TotalPointsBlue"?
I've created this measure, but it does not work
CALCULATE(COUNTROWS(EventPoints), IF(EventPoints[Action] = 1 && [TotalPointsBlue ] > 0, 1, 0)
Plaese, can you help me?
Try this
CountActionBlue =
CALCULATE(
COUNTROWS(EventPoints),
EventPoints[Action] = 1,
EventPoints[Event] IN VALUES(EventPoints[Event]),
[TotalPointsBlue] > 0
)
Hi @AjithPrasath, it doesn't work either.
Error: A placeholder function has been used in a true/false expression that is used as a table filter expression, which is not permitted.
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 |
---|---|
45 | |
26 | |
22 | |
13 | |
8 |
User | Count |
---|---|
73 | |
51 | |
45 | |
16 | |
12 |