cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jhodasoft
Frequent Visitor

Accumulated

Good afternoon!, The idea is to get the accumulated from the MIN column and I can't get it. Can someone help me?

jhodasoft_0-1681765934370.png

file project:

https://drive.google.com/file/d/1VJQDElOSWSJwy_MDY2XD-yMJ0TwtXv5Y/view?usp=share_link

2 REPLIES 2
PiEye
Resolver II
Resolver II

Hi, I wasn't able to open the file by zipping it, but I was able to recreate the scenario with different data.

 

You would be best off using a "window" function (see guidance here from SQL BI) 

 

If I have a function called "min price" and a table ordered by Date, the cumulative min price would look like:

Cumu min price = 
SumX (
    WINDOW (
        0, ABS,
         0, REL,
        ORDERBY ('Sales'[DateKey], ASC )
    ),
    [min price]
)
 
HTH - if not, see if you can re-attach the pbix and I can try it in your data
 
Pi Eye

Hi @PiEye , Thanks for answering, I uploaded the file again and this is the new link:

https://drive.google.com/file/d/1xF2Iqwvg8aghLoHxAXcI_QnyDAueqiY-/view?usp=share_link

 

I also attached an image with the version of Power BI that I am using.

jhodasoft_0-1681851272289.png

 

 

Helpful resources

Announcements
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors