Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey PowerBI world!
I am struggling to create a model with same behavior as the one attached to this post.
Essentially, I need to create a Cohort Analysis of subscriptions by using their Start Date, End Date and Amount. How can I create a Power BI model in order to create the Table?
Please Help! I am in deep need thanks!
Solved! Go to Solution.
In this scenario, you need to expand a list of months from StartDate to EndDate in your source. You can create a custom column like below:
List.Distinct(List.Transform({Number.From([StartDate])..Number.From([EndDate])}, each Date.AddDays(Date.EndOfMonth(Date.From(_)),-Date.Day(Date.EndOfMonth(Date.From(_)))+1)))
Then expand that Custom column:
Then you can create a matrix like below:
Regards,
In this scenario, you need to expand a list of months from StartDate to EndDate in your source. You can create a custom column like below:
List.Distinct(List.Transform({Number.From([StartDate])..Number.From([EndDate])}, each Date.AddDays(Date.EndOfMonth(Date.From(_)),-Date.Day(Date.EndOfMonth(Date.From(_)))+1)))
Then expand that Custom column:
Then you can create a matrix like below:
Regards,
@v-sihou-msft Now that I have this multi-axis chart, how do I create a measure that shows me the Percentage change from the baseline sum?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |