Forum Discussion
PowerBi Measures
Hello All,
I have files that contain current subscribers for each week of the past year that I've appended together. I've included a report date field to tell which report the record was from. I've calculated the total subscribers for the most recent week and am trying to calculate the total sub for the prior week. It is returning the correct total for the prior week subscribers but is not returning prior week totals for each week in my table.
This is the code I am using:
Hi! Here is a great article that describes how to do WoW measures: Week-related calculations – DAX Patterns
Scroll until you find this section and it walks you through setting up the DAX you will need:
2 Replies
- audreygerred
Super User
Hi! Here is a great article that describes how to do WoW measures: Week-related calculations – DAX Patterns
Scroll until you find this section and it walks you through setting up the DAX you will need:
- NordicDrow
Helper I
Hi there!
If you have a file with columns "Date", "Prior Week Date" and "Subscribers", you could just go to PowerQuery, merge table, merge with itself, columns "Prior Week" in the first to "Date" in the second. Then just expand "Subscribers".
Hope it helps, tell me if you need any further assistance.