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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 18 | |
| 14 | |
| 9 | |
| 8 | |
| 8 |