Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
13 | |
12 | |
10 | |
7 | |
7 |
User | Count |
---|---|
19 | |
14 | |
11 | |
10 | |
10 |