Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have both CST and GMT columns.I want both in one filter and if any one select (as a drop down selection)one CST (or)GMT time data can display related to CST (or)GMT data
Hi @Anonymous ,
Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
Hi @Anonymous ,
You may enter into Query Editor, select on the column [CST] and [GMT] at the same time, right click to choose option "Unpivot columns". You may rename the new resulted column Attribute with "SelectedColumn", click button "Close & Apply". Then you may put the [SelectedColumn] which contains names of CST and GMT into Slicer as filter options.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , refer if this can help
https://natechamberlain.com/2017/10/29/convert-time-zones-in-power-bi-using-dax/
Hi @Anonymous
You can create a table with all the time zones that you need ( name column, time offset column ( -1, 0, +1 ), next create a slicer with time zone name, and finally a Measure that will take a current selection of that slicer and add to your original time column.
Measure =
VAR __slicerSelection = SELECTEDVALUE( timeZonesTable[time offset column] ) / 24
RETURN
SELECTEDVALUE( yourTable[yourTimeColumn] ) + __slicerSelection
Also, see if this link can help.
https://www.poweredsolutions.co/2019/10/21/handling-different-time-zones-in-power-bi-power-query/
I have both CST and GMT columns.I want both in one filter and if any one select (as a drop down selection)one CST (or)GMT time data can display related to CST (or)GMT data .
Measure = VAR __slicerSelection = SELECTEDVALUE( timeZonesTable[time offset column] ) / 24 RETURN SELECTEDVALUE( yourTable[yourTimeColumn] ) + __slicerSelection
In this measure how to write both CST or GMT
Can you allobrate how to do
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
123 | |
77 | |
71 | |
56 | |
48 |
User | Count |
---|---|
162 | |
84 | |
68 | |
66 | |
61 |