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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Calcular el ahorro a partir de 2 columnas con 0 (cero) o sin valores de valor (en blanco/nulo).

Hola a todos

Desde Objetivo (Columna 1) y Real (Columna 2), estoy tratando de calcular el Ahorro (Columna 3).

Guardando en posible debajo de senarios, y debajo de esta imagen mi intento de consulta de poder columna personalizada.

Kaalu007_0-1686981743579.png

= si [Destino] = [Gasto] o [Destino]=nulo o [Gasto]=nulo o [Destino]=0 o [Gasto]=0 entonces null else [Destino]-[Gasto]

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

plse prueba esto

[ 
t = [Target]*[Expense],
to = if t <> 0 and  t <> null 
then [Target] -[Expense] 
  else null][to]

Screen Capture #1267.png

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.