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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Jasleen_kaur
Frequent Visitor

Month over Month change

Jasleen_kaur_0-1704882347629.png

I would like assistance in creating a visual(showing above) and calculating the Twitter impressions based on the information provided in the image. Please help me with this.

1 ACCEPTED SOLUTION

Hi @Jasleen_kaur 
So if lets say if you want to calculate change in the month of jan so last month will be dec so it will year-1 that y it previous year is used 

View solution in original post

4 REPLIES 4
Jasleen_kaur
Frequent Visitor

yes

qqqqqwwwweeerrr
Super User
Super User

Hi @Jasleen_kaur 

 

I have used this data set for calcualtion 

qqqqqwwwweeerrr_0-1704896562826.png

two months data.

 

You need to create these measure for calculation 

Current Month Impersion = CALCULATE(SUM(Sheet1[Impresion]),
YEAR(Sheet1[Date]) = YEAR(MAX(Sheet1[Date])),
MONTH(Sheet1[Date]) = MONTH(MAX(Sheet1[Date])))
 
previous month =
    var Current_Month = MONTH(MAX(Sheet1[Date]))
    var Current_year = YEAR(MAX(Sheet1[Date]))
    var previous_month = IF(Current_Month = 1,12,Current_Month-1)
    var previous_year = IF(Current_Month = 1,Current_year-1,Current_year)
return CALCULATE(SUM(Sheet1[Impresion]),
        MONTH(Sheet1[Date]) = previous_month, YEAR(Sheet1[Date]) = previous_year)
 
Change = ([Current Month Impersion]/[previous month])*100
 
once its done you can see the percentage change
qqqqqwwwweeerrr_1-1704896663047.png

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: https://www.youtube.com/@letssolveproblem


Regards

Please guide why you have calculated pervious year!

Hi @Jasleen_kaur 
So if lets say if you want to calculate change in the month of jan so last month will be dec so it will year-1 that y it previous year is used 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.