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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors