Forum Discussion
Power BI Report over hour
Dear Community,
I am new to Power BI and DAX but I need to ask "new guy question" to deal with my problem. I am dealing with a huge database where i need to force one table to get average values over specific time periods. Like below example shows. I am new to DAX and so far I couldn't find my way over it with simple mesure. For the moment I filter results directly in table - but this require additional relation table, not really efficient way.
Hi DanSan,
Add a calculated column in above table.
Time period = IF ( Test_2[Time 24h range] >= 1 && Test_2[Time 24h range] <= 3, "1-3", "4-6" )
Then, use a Matrix visual and column chart visual to host data. Rememer to select "Average" aggregation for value field.
Best regards,
Yuliana Gu
2 Replies
- v-yulgu-msft
Microsoft Employee
Hi DanSan,
Add a calculated column in above table.
Time period = IF ( Test_2[Time 24h range] >= 1 && Test_2[Time 24h range] <= 3, "1-3", "4-6" )
Then, use a Matrix visual and column chart visual to host data. Rememer to select "Average" aggregation for value field.
Best regards,
Yuliana Gu
- DanSanRegular Visitor
Thank you very much for help!