Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I want to be able to graphically show the expected revenue from potential contracts.
The data looks a little like the below:
Opportunitu ID= ........
Opportunity Name= .......
Contract Value= 1,000,000
Start Date= 01/01/2018
End Date= 01/01/2019
Months= 12
I want to be able to equally split the 1,000,000 across the 12 months and display that in my chart. Is it possible in DAX to do so? I have created a Date table that is linked to my dataset.
Thanks
Sam
Solved! Go to Solution.
Please see the attached file here
Hope it will give you the idea
You can create a NEW CALCULATED TABLE to expand the range of dates into ROWS
From the Modelling tab>>New Table
New Table = GENERATE ( TableName, GENERATESERIES ( 0, TableName[Month], 1 ) )
Now you can add new Columns to your Table to get the desired Columns
Dates = EOMONTH ( 'New Table'[Start Date], 'New Table'[Value] - 1 ) + 1
Split_Contract_Value = 'New Table'[Contract Value] / ( 'New Table'[Month] + 1 )
are you able to provide the same in excel?
Please see the attached file here
Hope it will give you the idea
User | Count |
---|---|
98 | |
90 | |
77 | |
71 | |
64 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |