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! Learn more
Hello community. I am trying to show the sum of several measurements in a single column with 9 values,
but it gives me an error that says: Mdxscript(Model) (385.9) Calculation error in measure 'CALCULOS' [MOSTRAR actividades]: A multi-value table was provided where a single value was expected.
The formula entered is:
Mostrar Actividades =
SWITCH (VALUES(ACTIVIDADES[POSICION]),
1, [A1 Variable],
2, [A2 Variable],
3, [A3 Variable],
4, [A4 Variable],
5, [A5 Variable],
6, [A6 Variable],
7, [A7 Variable],
8, [A8 Variable],
9, [A9 Variable],
15
)
Could someone help me determine what is wrong?
Solved! Go to Solution.
Thanks for the help, but solved the problem using the following measurement:
Thanks for the help, but solved the problem using the following measurement:
Hi @yaguaso ,
You can update the formula of measure [Mostrar Actividades] as below and check if it can return the expected result...
Mostrar Actividades =
SWITCH (
SELECTEDVALUE ( ACTIVIDADES[POSICION] ),
1, [A1 Variable],
2, [A2 Variable],
3, [A3 Variable],
4, [A4 Variable],
5, [A5 Variable],
6, [A6 Variable],
7, [A7 Variable],
8, [A8 Variable],
9, [A9 Variable],
15
)
Best Regards
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 |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |