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

Week over week % change

Hi All,

 

I want to show WoW% change in my below graph with a line.

 

Himanshu_1306_0-1672672512772.png

 

I tried by using the below measure but its not working properly, eg the % change from increase from week 44 to 45 but its decreasing here.

Kindly suggest what is wrong in the calculation.

 

Himanshu_1306_1-1672672577646.png

Measure =
 
VAR _previousWeek = MIN( F_MARKETING_RESPONSE[FISCAL_WEEK] ) - 1
 
VAR lastWeekMQR =
    CALCULATE (
        [MQRs],
        FILTER (
            ALL ( F_MARKETING_RESPONSE ),
            F_MARKETING_RESPONSE[FISCAL_WEEK] = _previousWeek
        )
    )
RETURN
    DIVIDE([MQRs]-lastWeekMQR,lastWeekMQR,0)

 

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Create a separate  date or week table with rank on week/ year week

 

COlumn

Week Rank = RANKX(all('Date'),'Date'[Week Start date],,ASC,Dense)
OR
Week Rank = RANKX(all('Date'),'Date'[Year Week],,ASC,Dense) //YYYYWW format

 

These measures can help
This Week = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])))
Last Week = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Week Rank]=max('Date'[Week Rank])-1))

 


Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.