Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
I want to create the measure of sales profit that would return value in % for every column. Please find the snapshot below.
Measure=% Sales Profit = ( Actual Sales / (Sales ignored+Expected Sales) ) * 100.
Solved! Go to Solution.
@Anonymous
Create the following measure :
% Sales Profit =
var A = CALCULATE( SUM(Table8[Value]),Table8[Billing Scores] = "A = Actual Sales")
var C = CALCULATE( SUM(Table8[Value]),Table8[Billing Scores] = "C = Expected Sales")
var B = CALCULATE( SUM(Table8[Value]),Table8[Billing Scores] = "B = Sales ignored")
return
DIVIDE(
A,
(B+C)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
What are scores? are they measures or rows in a table?
can you share the screenshot of the source data table?
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi
Please find the snapshot.
using Matrix Visualization, Now how to create the measure of % Sales_Profit
@Anonymous
Create the following measure :
% Sales Profit =
var A = CALCULATE( SUM(Table8[Value]),Table8[Billing Scores] = "A = Actual Sales")
var C = CALCULATE( SUM(Table8[Value]),Table8[Billing Scores] = "C = Expected Sales")
var B = CALCULATE( SUM(Table8[Value]),Table8[Billing Scores] = "B = Sales ignored")
return
DIVIDE(
A,
(B+C)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi,
Getting below report with the measure
- As my requirement is to show the % sales profit above the column total value, not as below.
Required output as below.
- Below is the Visualization
Hi, Please find the below Matrix Visualization..
Need to add measure which is
Measure=% Sales Profit = ( Actual Sales / (Sales ignored+Expected Sales) ) * 100.
need to show above the column "Total".
User | Count |
---|---|
83 | |
77 | |
71 | |
69 | |
53 |
User | Count |
---|---|
105 | |
100 | |
91 | |
79 | |
68 |