cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors