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.
@Anonymous It seems you have single quotes as part of your data itself in the SQL query but where as in DAX you are not considering that.
For Example - In SQL you are looking for 'Flat Fee Per Group' but in DAX you are looking for Flat Fee Per Group. Give a try including single quotes in your DAX search as well.
Proud to be a PBI Community Champion
Hi @Anonymous ,
Have you solved your problem?
If you have solved, please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
In addition, it seems that you're trying to achive if function in Power BI.
You could have a reference of the IF fomula below.
= IF('Table_Name'[Column_Name]= " " ,'Table_Name1'[Amount],0)
If you still need help, please share your dummy pbix which can reproduce your scenario so that we can help further on it.
Best Regards,
Cherry
Hi @Anonymous ,
Have you solved your problem?
If you have solved, please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
In addition, it seems that you're trying to achive if function in Power BI.
You could have a reference of the IF fomula below.
= IF('Table_Name'[Column_Name]= " " ,'Table_Name1'[Amount],0)
If you still need help, please share your dummy pbix which can reproduce your scenario so that we can help further on it.
Best Regards,
Cherry
@Anonymous It seems you have single quotes as part of your data itself in the SQL query but where as in DAX you are not considering that.
For Example - In SQL you are looking for 'Flat Fee Per Group' but in DAX you are looking for Flat Fee Per Group. Give a try including single quotes in your DAX search as well.
Proud to be a PBI Community Champion
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 |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 23 | |
| 18 |