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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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