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
ylsemv
Regular Visitor

Obtener el saldo y Arrastre

Hola,

 

Estoy tratanto de realizar la siguiente tabla en PBI pero no logró obtener el resultado esperado para calcular la fila de "Arrastre de Saldo OC" y "Saldo de OC".

 

En la siguiente tabla con los datos de entrada que tengo.

FechaEne-2021Feb-2021Mar-2021Abr-2021
Monto OC$5,106.00$0.00$0.00$0.00
Facturación  $285.00$120.00$384.00$0.00

 

Y deseo agregar en la tabla las filas de "Arrastre de Saldo OC" y "Saldo de OC". 

FechaEne-2021Feb-2021Mar-2021Abr-2021
Monto OC$5,106.00$0.00$0.00$0.00
Arrastre de Saldo OC $5,106.00$4,821.00$4,701.00$4,317.00
Facturación  $285.00$120.00$384.00$0.00
Saldo de OC $4,821.00$4,701.00$4,317.00$4,317.00
1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@ylsemv 

1. You can either use append in the Query Editor

V-pazhen-msft_0-1619502504826.png

 

2. Or create a table with Union.

V-pazhen-msft_1-1619502564433.png

 


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
V-pazhen-msft
Community Support
Community Support

@ylsemv 

1. You can either use append in the Query Editor

V-pazhen-msft_0-1619502504826.png

 

2. Or create a table with Union.

V-pazhen-msft_1-1619502564433.png

 


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

ylsemv
Regular Visitor

Hi @amitchandak 

 

The first table is the data that I have in my model.

FechaEne-2021Feb-2021Mar-2021Abr-2021
Monto OC$5,106.00$0.00$0.00$0.00
Facturación  $285.00$120.00$384.00$0.00

 

The new rows that I want to calculate is "Arrastre de Saldo OC" and "Saldo de OC" found in the second table.

FechaEne-2021Feb-2021Mar-2021Abr-2021
Arrastre de Saldo OC $5,106.00$4,821.00$4,701.00$4,317.00
Saldo de OC $4,821.00$4,701.00$4,317.00$4,317.00

 

Result

FechaEne-2021Feb-2021Mar-2021Abr-2021
Monto OC$5,106.00$0.00$0.00$0.00
Arrastre de Saldo OC $5,106.00$4,821.00$4,701.00$4,317.00
Facturación  $285.00$120.00$384.00$0.00
Saldo de OC $4,821.00$4,701.00$4,317.00$4,317.00

 

 

Thank

amitchandak
Super User
Super User

@ylsemv , the first table seems like a filter on the second table?

 

Am I missing something?

 

Check

https://docs.microsoft.com/en-us/dax/calculatetable-function-dax

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.