Forum Discussion
Count cases by Hour
Hi Anonymous ,
There's no need to add new columns, please check following steps.
1# use Enter Data feature to create a table as below.
2# Create a measure as below.
count = COUNTROWS(FILTER(ALL('Table'),FORMAT('Table'[Time],"h")=FORMAT(SELECTEDVALUE('Table (2)'[hour]),"")))Result would be shown as below.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for help.
Unfortunately, I can't enter data either on my end. Everything is greyed out.
I just find it odd that Power BI recoginizes the date field as a "date" but there is no way I can create a new measure formatting it only by hour.
- Anonymous6 years agoNot applicable
Anonymous ,
So you are using live connection mode to connect SSAS according to your screenshot? Otherwise the Enter Data feature won't be grayed out. If so I'm afraid you have to do the job in SSAS because many of the features of power bi are limited when using live connection.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.