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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Calculate growth for each month

Hello!

 

I would like to calculate the growth over each month,

 

The dataset is looking like this:

anthon_3-1622119181592.png

 

I would like to visualize a graph that shows growth by each month.

 

For example:

MonthCount of StoryGrowth
January5050
February99149
March32181

 

Thanks in advance!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous ,If you have date or create a date like 

 

Date = "01-" & [Month] & "-" [year] //change datatype to month 

 

Cumm Sales = CALCULATE(SUM(Table[Count of story]),filter(allselected(Table),Table[Date] <=max(Table[ Date])))

 

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous ,If you have date or create a date like 

 

Date = "01-" & [Month] & "-" [year] //change datatype to month 

 

Cumm Sales = CALCULATE(SUM(Table[Count of story]),filter(allselected(Table),Table[Date] <=max(Table[ Date])))

 

Anonymous
Not applicable

Hello @amitchandak!

 

I have a calendar table with a active relation to my primary dataset.

 

Do you mean that I should create a Measure called Date aswell? I don't really follow.

 

Primary Table name: Jira

Calender Table name: Calender

 

anthon_0-1622121483753.png

 

aj1973
Community Champion
Community Champion

Hi @Anonymous 

No you don't have to create a new Date table. Use the existing one. just change the name of the table in @amitchandak formula.

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.