Forum Discussion
Diffrenet tables one Date filter
- Anonymous6 years ago
I dont have a date and time colum in my tables , and I prefer not to add columns to my tables(Since I already have a dateeith time column in them)
So instead I used the similare option you guys gave earlier in the thread
Just instead of using Calander() I created a table as follow(using kusto get data):
let _stepSize = 1m;let _offset = 1d;let _startTime = startofmonth(now(), -1) - _offset;let _endTime = bin(now(), 1m) - _offset;range Timestamp from _startTime to _endTime step _stepSize| extend Timestamp = Timestamp + _offset| extend WeekOffset = toint((startofweek(Timestamp) - startofweek(now())) / 7d)| extend Timestamp = Timestamp - _offset| order by Timestamp descand then I added the realations to them and it worked.Thanks for helping ,
All you tables transaction(Fact) table will have date and time columns and they will join these date and time tables on date and time column. These Date calendar and time table will act as the master table will be used in the analysis.
If possible, share pbix file after removing sensitive information.
Like this
I dont have a date and time colum in my tables , and I prefer not to add columns to my tables(Since I already have a dateeith time column in them)
So instead I used the similare option you guys gave earlier in the thread
Just instead of using Calander() I created a table as follow(using kusto get data):
- v-chuncz-msft6 years agoCommunity Support
Anonymous
Glad to hear that. You may help accept the solution above. Your contribution is highly appreciated.