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.
Hi All ,
I have merged two tables Salesboost where I am comparing GUID from both the tables.that is achieved from below DAX query.
Now I need to compare GUID along with country from two tables from the second query but getting error like "Multiple columns cannot be converted to a scalar value." any help?
Q1:
SalesBoost1&2 = IF(SalesBoost[Account: GUID]=SalesBoost[SalesBoost2.Customer GUID],"1&2",
IF(ISBLANK(SalesBoost[Account: GUID]),"2",
IF(ISBLANK(SalesBoost[SalesBoost2.Customer GUID]),"1")))
Q2:
CC_GUID_1 =
var SB = CONCATENATE(SalesBoost[Account: GUID],SalesBoost[Country])
VAR SB1 = CONCATENATE(SalesBoost[SalesBoost2.Customer GUID],SalesBoost[SalesBoost2.Country])
return
IF(SB=SB1,"1&2",
IF(ISBLANK(SB),"2","1"))
Not very clear to understand unless you share sample Data.
Follow the below article on the error.
Also, try using the SEARCH OR FIND Function.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!!
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 |
---|---|
10 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
13 | |
12 | |
11 | |
11 | |
8 |