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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
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 |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 18 | |
| 14 | |
| 14 |