Forum Discussion
bridge table
- 2 years ago
I'm not entirely clear about the goal of what you're trying to achieve, but there's a logical granularity problem in your model.
The growth in table T1 is at the year level.
Table T2 is at the week level (a lower level).
Therefore, you're unable to establish the connections properly.
There's simply no data at the region and week level... the region data is at the year level.
So you can create visuals with region and year granularity only (if you want to get correct results)Or something like that to get "something" :
This result is not correct, because the granularity problem
If this post helps, please consider Accepting it as the solution to help the other members find it more quickly.
- 2 years ago
Hi,
Effectively, T2 is your Calendar table. In T1, create a Date column via this calculated column formula
Date = 1*("1/1/"&T1[year])
Create T2 with a calculated Table formula
Calendar = calendar(min(T1[Date]),max(T1[Date]))
Create other columns - week and weekid in T2.
Create a relationship (Many to One and Single) from the Date column in T1 to the Date column in T2.
Hope this helps.
Hi,
Effectively, T2 is your Calendar table. In T1, create a Date column via this calculated column formula
Date = 1*("1/1/"&T1[year])
Create T2 with a calculated Table formula
Calendar = calendar(min(T1[Date]),max(T1[Date]))
Create other columns - week and weekid in T2.
Create a relationship (Many to One and Single) from the Date column in T1 to the Date column in T2.
Hope this helps.