Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello all,
I have one question/Issue with DAX in statement IF
I try to make a flag, but if i used < my data is empty ... I don't know why...
Check my print screen
Try this:
AmountPrime=
Var _A = 120%
return
if([Med%]<_A,"Yes","False")
If it does not work, can you share a [Med%] measure code here?
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos✌️!!
not ...
Hey,
the IF-Function is defined like this: IF(<logical_test>, <value_if_true>, <value_if_false>)
If I see it correctly, you missed the "else" statement.
Regards
@Anonymous it's same ...
hmmm... but if you don't inserte the measure there is data displayed?
What does the [Med%] measure do?
@Anonymous
Last guess...
if( Ref <> blank() && Curr <> blank() && ([Med%]<1.2), "yes", "no")
Because I don't understand why there is no data displayed ;D
Regards
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
9 |