Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Solved! Go to Solution.
Hi, @mcornfield
First, you need to check the format of the "IF Test" field. Text cannot be compared with the value 90.
Correct results can be obtained by modifying the format of the "IF Test" field.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @mcornfield
First, you need to check the format of the "IF Test" field. Text cannot be compared with the value 90.
Correct results can be obtained by modifying the format of the "IF Test" field.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@mcornfield how about showing us the IF statement you attempted to write, and the error you received?
Thanks for your reply i added a Screenshot to the post
@mcornfield if you would click the "See details" it would tell you exactly what the problem is:
By using the "FORMAT" function in your [IF TEST] measure, you are converting that date difference into a Text data type. But then in [IF TEST 2] you are comparing that against an integer value (90), which is not allowed.
One solution would be to change your [IF TEST] measure to:
IF TEST = VALUE(Today()-[9. Lastnonblank])
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 51 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |