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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Team,
I have a data set in the following format.
I have created a measure to calculate daily growth as follows
Solved! Go to Solution.
HI @Jos13,
You can try to use following link if it meets your requirement:
Weekly growth% =
VAR currDate =
MAX ( 'DateTable'[Date] )
VAR _curr =
CALCULATE (
SUM ( Table[Sales] ),
FILTER (
ALLSELECTED ( Table ),
YEAR ( [Date] ) = YEAR ( currDate )
&& WEEKNUM ( [Date] ) = WEEKNUM ( currDate )
)
)
VAR _prev =
CALCULATE (
SUM ( Table[Sales] ),
FILTER (
ALLSELECTED ( Table ),
IF (
WEEKNUM ( currDate ) > 1,
YEAR ( [Date] ) = YEAR ( currDate )
&& WEEKNUM ( [Date] ) = WEEKNUM ( currDate ),
YEAR ( [Date] )
= YEAR ( currDate ) - 1
&& WEEKNUM ( [Date] )
= WEEKNUM ( DATE ( YEAR ( currDate ) - 1, 12, 31 ) )
)
)
)
RETURN
DIVIDE ( _curr - _prev, _prev )
Regards,
Xiaoxin Sheng
HI @Jos13,
You can try to use following link if it meets your requirement:
Weekly growth% =
VAR currDate =
MAX ( 'DateTable'[Date] )
VAR _curr =
CALCULATE (
SUM ( Table[Sales] ),
FILTER (
ALLSELECTED ( Table ),
YEAR ( [Date] ) = YEAR ( currDate )
&& WEEKNUM ( [Date] ) = WEEKNUM ( currDate )
)
)
VAR _prev =
CALCULATE (
SUM ( Table[Sales] ),
FILTER (
ALLSELECTED ( Table ),
IF (
WEEKNUM ( currDate ) > 1,
YEAR ( [Date] ) = YEAR ( currDate )
&& WEEKNUM ( [Date] ) = WEEKNUM ( currDate ),
YEAR ( [Date] )
= YEAR ( currDate ) - 1
&& WEEKNUM ( [Date] )
= WEEKNUM ( DATE ( YEAR ( currDate ) - 1, 12, 31 ) )
)
)
)
RETURN
DIVIDE ( _curr - _prev, _prev )
Regards,
Xiaoxin Sheng
Hi @Jos13
You can use the Relative Date Dimension table or parts of it, the below blog post will have an example of the previous week
https://community.powerbi.com/t5/Community-Blog/Relative-Date-Dimension/ba-p/779039
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 51 | |
| 36 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |