Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello Guys, could you please help me to solve this issue of the "multiple columns cannot be converted to scalar value" iam using the below DAx formula:
Solved! Go to Solution.
Hi @omarmendoza1216 ,
As far as I know, UNION() function will return a table instead of a single value.
For reference: UNION function (DAX) - DAX | Microsoft Learn
I think you are trying to create a calculated column or a measure, so Power BI will return this error.
I can reproduce your issue on my side. Screenshot is as below.
We can see that measure or calculated column both will return error, however, calculated table won't.
Please try to create a calculated table by this code. Or you need to add some steps by SUMX()/MINX()/MAXX()/... to get single value.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @omarmendoza1216 ,
As far as I know, UNION() function will return a table instead of a single value.
For reference: UNION function (DAX) - DAX | Microsoft Learn
I think you are trying to create a calculated column or a measure, so Power BI will return this error.
I can reproduce your issue on my side. Screenshot is as below.
We can see that measure or calculated column both will return error, however, calculated table won't.
Please try to create a calculated table by this code. Or you need to add some steps by SUMX()/MINX()/MAXX()/... to get single value.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |