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
clteh9
Helper I
Helper I

count by categories and date

hi, 

 

i would like to check how can i format the visual as below. 

clteh9_0-1669796090991.png

 

this is my sample data.

clteh9_1-1669796116078.png

Thanks in advance. 

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@clteh9 

you can try to use a matrix

1.PNG

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

7 REPLIES 7
mangaus1111
Solution Sage
Solution Sage

@clteh9 ,

sorry the calculated column must be like this

 

End Date = CONVERT(INT('Table'[End Time]),DATETIME)
 
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ryan_mayu
Super User
Super User

@clteh9 

you can try to use a matrix

1.PNG

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




i tried it in the power bi. it show the report as such instead of showing category and subcategory in diff columns. Can help? thanks

clteh9_0-1669964665274.png

@clteh9 

pls turn off stepped layout

1.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




thanks

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




mangaus1111
Solution Sage
Solution Sage

Hi @clteh9 ,

create a calculated column 

End Date = INT([end time])

 

 and then a measure 

Count = COUNTROWS('Table')

 

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.