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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply

Ayuda con una medida

Hola Buen Dia Comunidad.
podrían apoyarme con esta medida

maria_fernanda_0-1699902690245.png

quiero hacer que la medida haga lo siguiente. si el costo unitario del 22 es = 0 o esta en blanco poner el costo unitario del 23 y viserversa si su costo unitario 23 = 0 o esta en blanco poner el costo unitario del 22.
Nose si podría ayudartme con esta medida se los agradezco.

2 REPLIES 2
amitchandak
Super User
Super User

@maria_fernanda , New columns in dax

 

New 22 = if(isblank([col 22]) || [Col 22] =0, [Col 23], [Col 22])

 

New 23 = if(isblank([col 23]) || [Col 23] =0, [Col 22], [Col 23])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

me da un error diciemndome que no es válido

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.