Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
KBO
Memorable Member
Memorable Member

Change binary to date from SQL DB

Hi,

I would like to change the binary code from my timestamp column to a date. I try Text.FromBinary but than I get a question mark symbol. Can anybody help?

timestamp.png

 

 

 

 

 

 

 

 

 

 

 

 
1 ACCEPTED SOLUTION
KBO
Memorable Member
Memorable Member

Solved the problem - not complete but for my needs it is ok.

Used = Binary.ToList([timestamp])

Anmerkung 2019-12-02 164314.png

 

 

 

 

 

 

 

And than extract values.

So I have a counter, not time or date based  but it works :). If somebody had a solution with date and time I will try it :).

View solution in original post

4 REPLIES 4
KBO
Memorable Member
Memorable Member

Solved the problem - not complete but for my needs it is ok.

Used = Binary.ToList([timestamp])

Anmerkung 2019-12-02 164314.png

 

 

 

 

 

 

 

And than extract values.

So I have a counter, not time or date based  but it works :). If somebody had a solution with date and time I will try it :).

artemus
Microsoft Employee
Microsoft Employee

Looking at the binary value, it appears to just be the year number, since 0x7D1 is 2001

Jimmy801
Community Champion
Community Champion

Hello

I don't think that this time-stamp-value can be converted to a date, because it  does represent some kind of counter.

BR

Jimmy

KBO
Memorable Member
Memorable Member

So that is the problem, actually it is a counter. If I go to my PowerApp and add a value the column value changed at the end. If I change a data set in the power app the timestamp also changed and counted up. So I think it referes to the last action in the DB but how can I extract it into Power BI ... 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.