The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Team,
I have power BI Report which is connected semantic model (direct query), Now the requirement is i want convert the relevant dates EST to CST.
We can achieve in power Query but we have connected though direct query hence unable to do in power query.
Any suggesttions and solutions please
Solved! Go to Solution.
Hi
1. Create a Calculated Column
2. Account for Daylight Saving Time: Keep in mind that during Daylight Saving Time, the difference might be 2 hours instead of 1. You’ll need to account for this in your DAX formula
CST Time =
IF (
[Your Date Column] >= DATE(Year, Month, Daylight Saving Start Date) &&
[Your Date Column] < DATE(Year, Month, Daylight Saving End Date),
DATEADD([Your Date Column], -2, HOUR), // During Daylight Saving Time
DATEADD([Your Date Column], -1, HOUR) // Rest of the year
)
Proud to be a Super User! | |
Hi
1. Create a Calculated Column
2. Account for Daylight Saving Time: Keep in mind that during Daylight Saving Time, the difference might be 2 hours instead of 1. You’ll need to account for this in your DAX formula
CST Time =
IF (
[Your Date Column] >= DATE(Year, Month, Daylight Saving Start Date) &&
[Your Date Column] < DATE(Year, Month, Daylight Saving End Date),
DATEADD([Your Date Column], -2, HOUR), // During Daylight Saving Time
DATEADD([Your Date Column], -1, HOUR) // Rest of the year
)
Proud to be a Super User! | |
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
14 | |
9 | |
7 |