cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Ayuda de DAX - Cantidad repetida en la columna

Hola a todos, tengo estas medidas dax que funcionan bien. Sin embargo, cuando coloco una categoría en la columna, me da una cantidad de repetición extraña. ¿Cómo no mostrar la cantidad repetida? Gracias de antemano.

ronaldbalza2023_0-1632272043860.png

ronaldbalza2023_1-1632272061127.png

P&L = 
CALCULATE (
    SUM ( 'Invoices'[Line Amount Calculation] ),
    FILTER (
        'Accounts',
        Accounts[Class] = "Revenue"
            || Accounts[Class] = "Expense"
    )
) - [P&L - Credit Notes] + [P&L (Journals)]

P&L - Credit Notes = 
CALCULATE (
    SUM ( 'Credit Notes'[Line Amount Credit Note Calculation] ),
    FILTER (
        'Accounts',
        Accounts[Class] = "Revenue"
            || Accounts[Class] = "Expense"
    )
)
P&L (Journals) = 
CALCULATE (
    0 - ( SUM ( 'Journals'[Net Amount] ) ),
    FILTER ( 'Journals', 'Journals'[Split] = "JOURNALS" ),
    FILTER (
        'Accounts',
        Accounts[Class] = "Revenue"
            || Accounts[Class] = "Expense"
    )
)

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@ronaldbalza2023 , la tabla de facturas no se une con la tabla utilizada en fila o columna. Comprobar la unión

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@ronaldbalza2023 , la tabla de facturas no se une con la tabla utilizada en fila o columna. Comprobar la unión

View solution in original post

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!