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
Hi, this is probably something simple... but I can't get it to work...
I created a measure to get the cost. For some reason it is not summarizing correctly.
This is the Measure
This is the table you can see the yellow has not been summed.
Any ideas on how to resolve?
Solved! Go to Solution.
I solved this at the end... I neede to use the USERPRINCIPAL() function so thats why I needed a measure.
At the ned I created a column field with the above logic and then created a measure referencing the column and using the userprincipla().
Below the code I used to reference the column with above logic and added the userprincipal.
It worked
I solved this at the end... I neede to use the USERPRINCIPAL() function so thats why I needed a measure.
At the ned I created a column field with the above logic and then created a measure referencing the column and using the userprincipla().
Below the code I used to reference the column with above logic and added the userprincipal.
It worked
Hi @LukeDrako ,
We haven’t received a response yet and want to ensure the solution met your needs. If you need any further assistance, feel free to reach out we’d be happy to help. If everything is working as expected, kindly mark it as Accepted as solution.
Thank You.
Hi @LukeDrako ,
Please let us know if your issue is solved. If it is, consider marking the answer that helped 'Accept as Solution', so others with similar queries can find it easily. If not, please share the details.
Thank you.
Hi,
LOOKUPVALUE() function is used as a calculated column (not as a measure). To get specific help, share some data, explain the question and show the expected result.
Hi @LukeDrako
I remember @Tutu_in_YYC fixed a similar issue , check if this helps you ?
https://community.fabric.microsoft.com/t5/Desktop/summing-time-utilization/td-p/4615038
Yup similar issue. Especially @LukeDrako is using switch statement in the result.
The reason why it is returning 4097, is probably because its returning only one of the cases in the switch statement instead of summing it.
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!