Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi all, I've been struggling with this alone for about a week, so I hope you don't mind me picking your brains.
I have a CRM table with a list of opportunities, which each has a monthly billing value and a billing start date. What I want to ultimately acheive is a visual that allows me to show a cumulative month on month billing, for each customer based on their billing start date.
Here's a mockup of the data I have and what I want to get to, done in quickly in Excel:
My actual data model is quite complex, but the part relevant to this is a Opportunity Table (which looks like the above) linked (via inactive relationship) to a date dimension table. (Opportunity['Billing start date'] ---> Date['Date key'])
Would you be able to give me any pointers on how I can create this?
I've so far managed to create the measure to map the amounts into a date, but I can't figure out how to get it cumulative by customer.
What I have so far is:
Predicted Monthly Revenue =
CALCULATE(SUM(Opportunity['Monthly Billing Amount']),
USERELATIONSHIP(Opportunity['Billing start date'],'Date'['Date key']))
Many thanks in advance for any help
Solved! Go to Solution.
I don't quite get the idea why you need the visual displaying like that, but some tricks can be played to get the expected output.
See more details in the attached pbix.
If you have any question, feel free to let me know.
Hi
I hope you have a Calendar Table Created
Create a measure BillingAmount:= Sum(OpportunityData[Monthly Billing Amount])
Create a measure called as YTDOpportunity
as
YTDOpportunity:=CALCULATE([BillingAmount], DATESYTD(Calendar[FullDate]))
FullDate is the actual date of billing amount.
Use the YTDOpportunity to plot and you shaould have the results.
Best
Cheenusing
Many thanks Cheenusing, that takes me some of the way there, but I'm still not quite getting it. I do have a calendar table.
When I follow your instructions I can get an accurate cumulative graph as below:
But when I add the customer feild in the legend, the the below happens.
What I really want to do is see the amount of each bar by customer, like my example. Any further thoughts?
I don't quite get the idea why you need the visual displaying like that, but some tricks can be played to get the expected output.
See more details in the attached pbix.
If you have any question, feel free to let me know.
Thanks Eric, This does what I need and I understand it. I had no idea what I was asking for ending up being so complex, but I guess I'm on a learning curve with what is and isn't easy to achieve!! Thanks again
Many thanks Eric.
It's so that we can visually see as monthly revenue increases, which customers contribute what proportion to a given month's income.
I'll take a look at that pbix later today and try to learn your tricks 🙂
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
87 | |
67 | |
49 |
User | Count |
---|---|
135 | |
113 | |
100 | |
68 | |
67 |