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
Paulyeo11
Impactful Individual
Impactful Individual

¿Cómo trazar el importe de la tendencia del inventario por mes?

Hola a todos

Mis datos de inventario según yollow columna de alta iluminación :-

Paulyeo11_0-1602671525865.png

Soy capaz de obtener la cantidad de stock actual y LYTD.

Necesito trazar mi tendencia de inventario.

Mi archivo PBI :-

https://www.dropbox.com/s/b5tje5faimay99c/preWebinarPostCal_PY_DATA%20V007.pbix?dl=0

Espero que alguien pueda ayudarme

Paul

1 ACCEPTED SOLUTION
themistoklis
Community Champion
Community Champion

@Paulyeo11

Probablemente usted está buscando valores acumulativos:

Vea fomula a continuación:

Inventory Trend =
CALCULATE (
    SUM ( INVENTORY[YTD] ),
    FILTER (
        ALL ( INVENTORY ),
        INVENTORY[Posting Date] <= MAX ( INVENTORY[Posting Date] )
            && NOT ( ISBLANK ( ( INVENTORY[GL Code] ) ) )
    )
)

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Paulyeo11 , Este acumulativo, YTD fechará tbale

Ventas YTD á CALCULATE(SUM(Table[C/D]),DATESYTD('Date'[Date],"12/31"))
Last YTD Sales ? CALCULATE(SUM(Table[C/D]),DATESYTD(dateadd('Date'[Date],-1,Year),"12/31"))

acumulativo con tabla de fechas

Ventas de Cumm: CALCULATE(SUM(Table[C/D]),filter(allselected(date),date[date] <-max(date[date]))
Ventas de Cumm: CALCULATE(SUM(Table[C/D]),filter(allselected(date),date[date] <-max(Table[Date])))

themistoklis
Community Champion
Community Champion

@Paulyeo11

Probablemente usted está buscando valores acumulativos:

Vea fomula a continuación:

Inventory Trend =
CALCULATE (
    SUM ( INVENTORY[YTD] ),
    FILTER (
        ALL ( INVENTORY ),
        INVENTORY[Posting Date] <= MAX ( INVENTORY[Posting Date] )
            && NOT ( ISBLANK ( ( INVENTORY[GL Code] ) ) )
    )
)

WOW otro experto. Gracias, señor

Helpful resources

Announcements
March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

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.

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.

Top Solution Authors