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
MarshalSK
Resolver I
Resolver I

How to get average, based on selected Year and Month

Hi Folks, Need your assistance to get calculated, Average Sales based on selected year and month.


expected result:

MarshalSK_0-1705598840849.png

 

 

YearMonthSales
2011Jan100
2011Feb200
2011Mar300
2011Apr500
2011May100
2011Jun200
2011July300
2012Jan400
2012Feb100
2012Mar200
2012Apr300
2012May100
2012Jun900

 

1 ACCEPTED SOLUTION
v-junyant-msft
Community Support
Community Support

Hi @MarshalSK ,

Just use this DAX:

Average = AVERAGE(Sheet15[Sales])

The final output is below:

vjunyantmsft_0-1705627774545.png

vjunyantmsft_1-1705627783540.png

vjunyantmsft_2-1705627799382.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-junyant-msft
Community Support
Community Support

Hi @MarshalSK ,

Just use this DAX:

Average = AVERAGE(Sheet15[Sales])

The final output is below:

vjunyantmsft_0-1705627774545.png

vjunyantmsft_1-1705627783540.png

vjunyantmsft_2-1705627799382.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.