hafiz_asim
New Member
- Joined
- Nov 26, 2017
- Messages
- 4
SQL View: a view created from SQL query from different tables
Unpivot SQL View: and unpivot version of table created in point 1 through power query
Report : Desired presentation
Objective: adding contribution column next to sales column where contribution is total sales - total prime cost
Advice required for above objective
Following action tried
With no success - Tried to calculate contribution in seprate colum in sql view an then unpivot renders wrong grouping through unpivot hence the results
with no success - Tried to calculate measures (wchih can be seen in data model) to achieve objective and then to making sets to delete extra column
Please follow the link to download model
https://1drv.ms/x/s!AmJRjgj6xuQ_jQ7zPtvrWzrn05Kv
Unpivot SQL View: and unpivot version of table created in point 1 through power query
Report : Desired presentation
Objective: adding contribution column next to sales column where contribution is total sales - total prime cost
Advice required for above objective
Following action tried
With no success - Tried to calculate contribution in seprate colum in sql view an then unpivot renders wrong grouping through unpivot hence the results
with no success - Tried to calculate measures (wchih can be seen in data model) to achieve objective and then to making sets to delete extra column
Please follow the link to download model
https://1drv.ms/x/s!AmJRjgj6xuQ_jQ7zPtvrWzrn05Kv