cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
clteh9
Frequent Visitor

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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.