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!View all the Fabric Data Days sessions on demand. View schedule
Hi,
I am trying to create ifese function but is is not giving me any column name in logical condition
eXAMPLE: I am creating a new column with condition IF(-- = "Mumbai", true,false)
So where -- is present no column name is coming here it giving me an error in the formula
Please help
Solved! Go to Solution.
If this is for a measure, you have to use an aggregation function. Trying something like
some_measure = IF ( MAX('table'[column]) = "Mumbai", 1, 0)
Hi @GShal ,
Thanks @Syk for the quick reply. I have some other thoughts to add:
If you want to create a calculated column, first select a table and then click New Column.
Enter the following formula.
Column = IF([Column1]="Mumbai","true","false")
Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @GShal ,
Thanks @Syk for the quick reply. I have some other thoughts to add:
If you want to create a calculated column, first select a table and then click New Column.
Enter the following formula.
Column = IF([Column1]="Mumbai","true","false")
Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If this is for a measure, you have to use an aggregation function. Trying something like
some_measure = IF ( MAX('table'[column]) = "Mumbai", 1, 0)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 9 | |
| 5 | |
| 3 |
| User | Count |
|---|---|
| 28 | |
| 20 | |
| 19 | |
| 19 | |
| 12 |