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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

multi row card chart format

Hi,

 

I've a column called DurationConnected in seconds and I've converted via the query editor to hh:mm:ss in a new column called DurationConnected(min) like this: #time(0, 0, 0) + #duration(0, 0, 0, [DurationConnected]). This gives me what I want but the format is text (I know it's a common issue).

I only need this data in hh:mm:ss in a multi row card chart. Can I do this via a measure in the chart? Or does anyone have a tip here?

 

Thanks. 

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @Anonymous

    After my test, you can do these as below:

Assume that we have this basic table

6.PNG

Step1:

use the formula like you to add a custom DurationConnected(min) column

#time(0, 0, 0) + #duration(0, 0, 0, [DurationConnected in seconds])

7.PNG

Step2:

Close&Apply

Step3:

select column DurationConnected(min) then click->Modeling->Data type->Time

8.PNG

Step4:

then select column DurationConnected(min) and click->Modeling->Format->Date Time->(HH:mm:ss)

9.PNG

Result:

10.PNG11.PNG

Best Regards,

Lin

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @Anonymous

    After my test, you can do these as below:

Assume that we have this basic table

6.PNG

Step1:

use the formula like you to add a custom DurationConnected(min) column

#time(0, 0, 0) + #duration(0, 0, 0, [DurationConnected in seconds])

7.PNG

Step2:

Close&Apply

Step3:

select column DurationConnected(min) then click->Modeling->Data type->Time

8.PNG

Step4:

then select column DurationConnected(min) and click->Modeling->Format->Date Time->(HH:mm:ss)

9.PNG

Result:

10.PNG11.PNG

Best Regards,

Lin

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.