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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
hi,
I work in the rail industry.
We have for example:
Period 1 = 01/04/2021 to 01/05/2021
Period 2 = 03/05/2021 to 29/05/2021
Thank you
@Anonymous , do you have any table where you have these periods if yes you can add additional columns based on that
Start Date = minx(filter(period, peiord[Start Date] <= Date[Date] && peiord[end Date] >= Date[Date] ), peiord[Start Date] )
same way
end Date = minx(filter(period, peiord[Start Date] <= Date[Date] && peiord[end Date] >= Date[Date] ), peiord[end Date] )
Hi amitchandak
Where in my code, would i insert the code you suggested?
Thanks
Jerry
I dont have any other table.
This is a new contract.
What do you suggest?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |