Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
@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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
71 | |
55 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
46 |