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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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