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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
AI14
Helper III
Helper III

Calculate average if date range is more than 1 day

Hi

 

I have a graph showing me arrivals per hour however when i put the date range to the last 7 days i get the 1st graph.

 

i want the graph to calculate the average number of arrivals per hours and display it in the desired layout and if 1 day is selected to also show the same layout.

 

what measure can i used to link data to slicer? 

 

last 7 days                                                 

AI14_0-1676906857185.png

desired layout

AI14_1-1676906884614.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@AI14 , Use a measure like

 

Averagex( Values(Table[Hour]), calculate(Count(Table[column])) )

Hi,

 

Thanks for the reply.

 

im still getting the same layout - need the hours to be distinct and the values count averaged.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors