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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hey guys I am trying to use the KPI indicator visual. I need two measures one that pulls the active contracts of whatever the current week is by customer and one that pulls active contracts from the week prior of that current week to compare week over week growth. In this dataset I do have PayperiodEndDates that are in future weeks to account for open contracts that end later in the year. I am working on building a measure but admittedly my dax isn't as strong as my SQL skills. I have table that looks like this
| Customer | PayPeriodEndDate | ActiveContracts | WeekNumber | Year |
| Little Guys Tires | 5/20/2020 | 1 | 21 | 2020 |
| Little Guys Tires | 5/27/2020 | 2 | 22 | 2020 |
| Little Guys Tires | 9/20/2020 | 1 | 41 | 2020 |
| Big Bobs Wings | 6/14/2020 | 1 | 29 | 2020 |
| Big Bobs Wings | 6/21/2020 | 1 | 30 | 2020 |
| Big Bobs Wings | 7/19/2020 | 1 | 36 | 2020 |
This is what I have thus far but I'm getting an error on WEEKNUMBER being the wrong format/don't know if this is the most optimized way
I HAVE WEEK ENDING DATES THAT ARE LATER IN THE YEAR THEN THE CURRENT ONES. DATES THAT ARE IN THE FUTURE.
PLS HELP.
SORY 4 CAPS
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 59 | |
| 45 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 115 | |
| 112 | |
| 38 | |
| 35 | |
| 26 |