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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Solved! Go to Solution.
Hi @RashmitaR,
According to your description above, you should be able to follow steps below to get your expected result.
1. Add a new table with a single column of measure type to your model like below.
Type |
profit |
profit% |
2. Create a new measure to show "profit" and "profit%" according to measure type.
Measure = SWITCH ( FIRSTNONBLANK ( NewType[Type], 1 ), "profit", [profit], "profit%", [profit%], BLANK () )
3. Add a Matrix to report with Rows as Country and Products and Values as the new created measure, Columns as measure Type from the new created table.
Regards
Hi @RashmitaR,
According to your description above, you should be able to follow steps below to get your expected result.
1. Add a new table with a single column of measure type to your model like below.
Type |
profit |
profit% |
2. Create a new measure to show "profit" and "profit%" according to measure type.
Measure = SWITCH ( FIRSTNONBLANK ( NewType[Type], 1 ), "profit", [profit], "profit%", [profit%], BLANK () )
3. Add a Matrix to report with Rows as Country and Products and Values as the new created measure, Columns as measure Type from the new created table.
Regards