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
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
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!
| User | Count |
|---|---|
| 97 | |
| 73 | |
| 50 | |
| 46 | |
| 44 |