Forum Discussion
Measure with conditional calculation not working
Please provide sanitized sample data that fully covers your issue. I can only help you with meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Datamodel:
Data to understand:
PNL lines: string, eg "Total Sales"
Actual TY : Measure (sum of Actuals), correspond with the correct PNL line. Several accounts go into one PNL line.
Actuals: numbers in Account Data Table per Account.
Dimensions:
Units: string, code representing a department
Time: Month
Result should be a visaul table with:
row: pnl lines
columns: actual ty, MEASURE X
filters: units, time
MEASURE X =
Actuals TY/ Actuals TY of "Total Sales" Line.
Except for the "Lines Sales of Goods" and "Sales of Product Related Services" I should have the value of the Actuals TY/ Actuals TY of "Total Gross profit" Line.
- lbendlin4 years ago
Super User
Please provide sanitized sample data that fully covers your issue. I can only help you with meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523