Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
So I have two seperate quality measures I track from week to week.
Quality Measure 1 - Weekly Quality is measured Sunday - Saturday
Quality Measure 2 - Weekly Quality is measured Thursday - Wednesday
I have a data dimension table with a week end date column with the end date being each Sunday
My question is 1) How can I calculate both of these measures at the same time? 2) How can I display both of these on a visualization with the Weed End Date as the access?
Solved! Go to Solution.
Hi @bwelsh
One idea is to have a single date table (with one row per date), but have a column for each Week ending
Something like this calculated table :
Dates = ADDCOLUMNS(
CALENDAR(DATE(2016,1,1) , TODAY()) ,
"Weekday Name" , FORMAT([Date],"DDDD") ,
"Week Ending Saturday" , [Date] + (7-WEEKDAY([Date])) ,
"Week Ending Wednesday" , VAR X = 7-MOD(WEEKDAY([Date])+3,7)RETURN [DATE] + IF(X=7,0,X)
)
Then just connect the Date column to your fact table and use the Week Ending columns on your Axis
Hi @bwelsh
One idea is to have a single date table (with one row per date), but have a column for each Week ending
Something like this calculated table :
Dates = ADDCOLUMNS(
CALENDAR(DATE(2016,1,1) , TODAY()) ,
"Weekday Name" , FORMAT([Date],"DDDD") ,
"Week Ending Saturday" , [Date] + (7-WEEKDAY([Date])) ,
"Week Ending Wednesday" , VAR X = 7-MOD(WEEKDAY([Date])+3,7)RETURN [DATE] + IF(X=7,0,X)
)
Then just connect the Date column to your fact table and use the Week Ending columns on your Axis
This is what I was thinking, thanks for the confirmation!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 52 | |
| 38 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 67 | |
| 34 | |
| 32 | |
| 29 |