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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
What would be the DAX formula to use to transform the table below?
Hi @Anonymous ,
With the help of pivot and unpivot you can achieve it. Please refer the attached file.
https://radacad.com/pivot-and-unpivot-with-power-bi
Output:-
BR,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @Samarth_18
Thanks for your suggestion. But I can't use this because the values are formularised and linked to other tables in Power BI. When I unpivot and pivot again, it only reflect the changes for Grade, not the values.
Check out the November 2025 Fabric 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!