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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
mluanacruz
Helper I
Helper I

Average 3,6,24 of a incremental Triangle

Hi all, I am trying this again and I hope to find help on this. This question has an excel example and a Power BI link so you can understand better my question.  


  --->  HERE     <---

 

 

I am working on this incremental triangle where I need to add a few measures to analyze some patterns like Ratio, Averages of the ratio 3, Average 6,12 and 24 months

mluanacruz_0-1664492721160.png

 

An example of the AVG 3 from the Ratio measure I created will be like:

  • Average 3= AVG from 202207 202206 202205 in Accident month 1 (1.45 +1.56 +1.61/3) = 1.54

                                     AVG from 202206 202205 202204 in accident month 2 (1.06 +1.07+1.09/3) = 1.07

 

It will look something like this:

 

mluanacruz_1-1664492844130.png

 

I got the Ratio part figured out but I am struggling with the average of the Ratios, especially because there are so many blanks.

How can I take the average from the last 3 months from this triangle?

 

 

I appreciate the help or any insight.

 

Thanks
Michelle

5 REPLIES 5
v-binbinyu-msft
Community Support
Community Support

Hi @mluanacruz ,

I want to confirm something with you, below screenshot is your desired results? 

vbinbinyumsft_0-1664520136582.png

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_ Binbin Yu

Hi @v-binbinyu-msft,
Please let me know if you need any other information from me. Thanks for helping.

Hi @v-binbinyu-msft 
Yes thats exacly what I am trying to complish. Please see below the formulas on excel:

mluanacruz_0-1664560016883.png

 

 

 

Thanks for the help

 

Michelle

A simplest application of calculation group,

CNENFRNL_0-1664524450254.png

 


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Hi, @CNENFRNL Thank you so much for your help, but I don't think this accomplished what I needed.

If you look into this link I included in my question, you will see on the excel sheet what I want to accomplish. Please see below.

 

mluanacruz_0-1664558977225.png

 

I have not seen the averages on your Power BI. Am I missing something?

 Please let me know.

 

Thanks again for your time.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.