Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have to make a graph of a common value (number of contracts), and I would like to see the number of contracts per creation date, that's easy, but I would like to show in the same graph the number of contracts when the maintenance expired:
So at the end my value is the same but the axis would change. Right now I can solve the problem making 2 graphs and just placing one on top of the other...
Is there a way to add both values into the same graph?
Thanks
Solved! Go to Solution.
I'd need some sample data to be certain how to help, but if you had a Calendar table of just dates, then you could use this to calculate how many starting and ending contracts you have by using either a couple of measures or calculated columns.
I think what you may want to do is to have a single Axis but two different values for each date, the number of contracts created and the number of contracts ending.
I guess then that I would need to create another value to calculate the number of contracts starting and ending based on a time scale...
I'd need some sample data to be certain how to help, but if you had a Calendar table of just dates, then you could use this to calculate how many starting and ending contracts you have by using either a couple of measures or calculated columns.
Great, thanks for the help.
I created a table with monthly incremental and I made a calculation for every month of the active customers, and another calculation with the expired customers.
Maintenancecustomers = CALCULATE([nrCTS],
Filter(ContractData,ContractData[Contract Start]< Dates[Dates]),FILTER(ContractData,ContractData[Contract End]>Dates[Dates]))
With that, I could create the graph which I was looking for.
@Greg_Deckler I will add your comment as the solution
Thanks again!
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 32 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 82 | |
| 66 | |
| 42 | |
| 27 | |
| 25 |