Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Show monthly subscription, assuming amount constant each month

Hi, 

 

I need to show monthly subscription for a product, but I have only been provided the product name, the monthly product charge (constant, same amount each month), the start date and the end date. Something like below: 

 

ProductStart DateEnd DateMonthly Amount
ABC9/1/202310/1/2024$500
DEF10/1/202311/1/2024$900
GHI11/1/202312/1/2024$1,200

 

I am hoping to produce something like this: 

 

 1-Sep-231-Oct-231-Nov-231-Dec-231-Jan-241-Feb-241-Mar-241-Apr-241-May-241-Jun-241-Jul-241-Aug-241-Sep-241-Oct-24
ABC$500$500$500$500$500$500$500$500$500$500$500$500$500$500
DEF $900$900$900$900$900$900$900$900$900$900$900$900$900
GHI  $1200$1200$1200$1200$1200$1200$1200$1200$1200$1200$1200$1200

 

As I would then like to produce a chart. 

 

Is there something in DAX I could write that would help me achieve what I am after? My reason for asking is that the data I have is only going to increase in volume, so it would be really nice to put together some function that enables me to take the monthly amount and apply it to each month. Hopefully that makes sense. 🙂

 

Any help would be greatly appreciated. I am a DAX newbie. 

1 ACCEPTED SOLUTION
ThxAlot
Super User
Super User

Expand.pbix

 

ThxAlot_0-1690019520548.png

 

PQ is easier to implement such logical.

ThxAlot_1-1690019715651.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you very much! Over the weekend I was thinking I should likely use PQ instead. Really appreciate your help. 

ThxAlot
Super User
Super User

Expand.pbix

 

ThxAlot_0-1690019520548.png

 

PQ is easier to implement such logical.

ThxAlot_1-1690019715651.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.