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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I new in Visual studio and powerBI.
I have a function like this:
"Naziv Firme = LOOKUPVALUE('DW ORGANIZACIJA'[NAZIV_FIRMA_PP];'DW ORGANIZACIJA'[ID];PATHITEM('DW ORGANIZACIJA'[Pot];2))"
Now I work in Visual Studio 2019 and Analysis Services Tabular Project, and if I like this formula in Visual is error 'Function 'LOOKUPVALUE' does 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.'
what is the solution?
thanks, Lea
Solved! Go to Solution.
Hi @LeaRupnik ,
I think the issue here is the format of both the columns in LOOKUPVALUE function.
In your data, do the following columns have same data format:
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
Hi @LeaRupnik ,
I think the issue here is the format of both the columns in LOOKUPVALUE function.
In your data, do the following columns have same data format:
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati