This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
Im trying to write a simple if stamenet but it doesn't work with numbers or measures.
Solved! Go to Solution.
Actually this got fixed with putting an additional space. For example 50000 , ValueIfTrue
Before i had 50000,ValueIfTrue
That doesn't make much sense. Unless you use comma as decimal separator?
Regards
Phil
Proud to be a Super User!
There's nothing syntcatically wrong with your first version
IF(SUM('table1'[Column1]) = 50000,1,2)
So it must be something else. Is this the entirety of the code?
What is your decimal separator? Comma or period?
regards
Phil
Proud to be a Super User!
Actually this got fixed with putting an additional space. For example 50000 , ValueIfTrue
Before i had 50000,ValueIfTrue
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 28 | |
| 26 | |
| 25 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 22 | |
| 19 | |
| 18 |