Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am facing an issue with the comment below. Any help greatly appreaceated!
"DAX comparison operations do not support comparing values of type Integer with values of type Text. Consider using the VALUE or FORMAT function to convert one of the values."
Solved! Go to Solution.
Hi,
I do not know how your datamodel looks like, but I assume that in your datamodel, storeID / CatID / MatID are all number format. Please try the below measure if it works.
SalesOnlineWatches =
CALCULATE (
SUM ( TJLSalesData[Sales] ),
FILTER (
TJLSalesData,
TJLSalesData[StoreID] = 4
|| TJLSalesData[CatID] = 1
|| TJLSalesData[MatID] = 1
)
)
Hi @Anonymous,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Hi,
I do not know how your datamodel looks like, but I assume that in your datamodel, storeID / CatID / MatID are all number format. Please try the below measure if it works.
SalesOnlineWatches =
CALCULATE (
SUM ( TJLSalesData[Sales] ),
FILTER (
TJLSalesData,
TJLSalesData[StoreID] = 4
|| TJLSalesData[CatID] = 1
|| TJLSalesData[MatID] = 1
)
)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |