The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi guys i have a question,
i have this date herarchy and i want that the column "hours" gave me only the hours between 6-14 o clock.
How can i do this because i tried it with a filter but it didnt worked. He showed the results from every hour and not from the hours i want.
Solved! Go to Solution.
Hi , @Anonymous
According to your description, you want to filter the Hour in 6-14.
For your need , you can create a calculated column for [Hour]:
Hour = IF( HOUR([Date])>=6 &&HOUR([Date])<=14 , HOUR([Date]) ,BLANK())
Then we can create a custom hierarchy like this:
Then we can put the hierarchy on the visual and we can use "Filter on thsi visual" to filter the null value:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , @Anonymous
According to your description, you want to filter the Hour in 6-14.
For your need , you can create a calculated column for [Hour]:
Hour = IF( HOUR([Date])>=6 &&HOUR([Date])<=14 , HOUR([Date]) ,BLANK())
Then we can create a custom hierarchy like this:
Then we can put the hierarchy on the visual and we can use "Filter on thsi visual" to filter the null value:
If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |