Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi Experties,
I wouldlike to set auto change option once 1st shift completed it should start showing 2nd shift data.
Ex : 1st shift is 6AM to 12 PM
2nd shift is 12 PM to 6PM.
When the 1st shift ends @ 11:59 AM and 2nd shift start from 12PM. 1st shift data should show when time is (6AM to11:59AM) when time is 12PM it should automatically should show the 2nd shift data in the visuals (Dashboard)
Any help here would be appreciated.
Thanks in advance
Solved! Go to Solution.
hi @SSBkrish
did you have a column in your data which includes values "1st shift / 2nd shift" ?? if so, then you can write a measure as follows:
if it doesn't work please provide more details of your table data.
If this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.
hi @SSBkrish
did you have a column in your data which includes values "1st shift / 2nd shift" ?? if so, then you can write a measure as follows:
if it doesn't work please provide more details of your table data.
If this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.
I am getting beloow error
Hi @SSBkrish ,
Agree with Selva-Salimi's, you did not give your measure a name. After testing, Selva-Salimi's method itself should be fine.
After giving your measure a name, can you solve your problem? If solved, please accept Selva-Salimi's reply as solution to help the other members find it more quickly.
Best Regards,
Dino Tao
did you define a name for your measure before defining "var"? I mean...
measure := var shift_definition......
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 26 | |
| 24 | |
| 23 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 20 | |
| 20 | |
| 19 |