Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
79 | |
73 | |
56 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |