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 Power BI Community!
Solved! Go to Solution.
@Anonymous - Well, you shouldn't, you should use SWITCH(TRUE()...) but if you must:
IF(
<condition>,
IF(
<other condition>,
<result true>,
<result false>
),
<result first if is false>
)
Or if you mean logic, IF(<condition> && <other condition>,true,false)
@Anonymous - If you have a measure for "DoA Count" and "Count of Parts" and they work, can you just do this:
DoA Rate =
IF([DoA Count]=1 && [Count of Parts]=0,1,BLANK())
@Greg_Deckler Thank you for your reply. How can I include a second IF fuction?
@Anonymous - Well, you shouldn't, you should use SWITCH(TRUE()...) but if you must:
IF(
<condition>,
IF(
<other condition>,
<result true>,
<result false>
),
<result first if is false>
)
Or if you mean logic, IF(<condition> && <other condition>,true,false)
@Anonymous , Not very clear to me
Assume you have two measures DoA Count and Count of parts , then you can have a measure
if([DoA Count] = 1 && [Count of parts] = 0,1 ,[DOA rate (monthly)])
You can use one measure inside another one. When want to filter using a measure, you need to take care of row context
@amitchandak
Thank you for the reply. I have the two measure DoA Count and Count of parts
@Anonymous , if is fine but check value or result
result >0
result <> 0
isblank(result )
not(isblank(result ))
do not just give results in if unless the true-false value is expected. It might work. But may change result ay someplace
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 |
---|---|
114 | |
100 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |