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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Keithr197
Regular Visitor

Calculating growth rate as a measure

Hi everyone, I have a table that contains: Country, week, sales indicator, Sales issued, and year.

 

Keithr197_0-1712962338788.png

and I want to calculate the growth for country by week The formula I usually use (F2024/F2023)-1. Im having trouble writting this as a measure in power query to solve my problem. Any other way I can do this?

Can anyone help me with it? Thanks!

1 REPLY 1
ronrsnfld
Super User
Super User

Please clarify your  question:

  • Power Query does not have "measures". Do you mean to use DAX in Power BI, or M in Power Query
  • You show only a single pair of "Country" entries ("Digital") but that refers to two different weeks.
    • How would you calculate growth for country for week in that instance?
    • Given the data you have posted, what would your expected results be?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors