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
icdns
Post Patron
Post Patron

Dividir % mensual por número de mes

Hola

Necesita su ayuda para crear una medida/columna que calcule el YTD%.

La fórmula de YTD% es Porcentaje Mensual Total / Mes Filtrado.

Por ejemplo:

Servicio: Consulta de saldo

Mes filtrado: Abril 2020

(Enero de 2020 a 97,44) + (febrero de 2020 a 97,58) + (100,00 de marzo) + (abril de 2020 a 99,56) / Mes seleccionado (abril de 2020 a 4)

%YTD % - 98,65%

Untitled.png

Pero estoy encontrando un error con mi fórmula YTD% al ponerlo como una línea en mi gráfico de combinación. Ya que mi serie de columnas es mi mes. A continuación se muestra mi fórmula y error encontrado:

Mi fórmula: FINAL YTD - CALCULATE( [YTD%] / DIM_DATE[Month_No])

Error:

error.png

Gracias.

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@icdns

¿Puede usted esta medida:

My formula: FINAL YTD =
DIVIDE(
    [YTD%],
    MAX(DIM_DATE[Month_No])
) 

________________________

¿He respondido a tu pregunta? Marque este post como una solución, esto ayudará a otros!.

Haga clic en el icono Thumbs-Up a la derecha si le gusta esta respuesta 🙂

Youtube Linkedin

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@icdns, puedes probar

divide( [YTD%] ,distinctcount( DIM_DATE[Month_No]) ) //Mejor tomar mes año -- Id seguro un mes falta

dividir( [YTD%] ,Max( DIM_DATE[Month_No]) )

Power BI — YTD
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
Power BI — QTD
https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839
Power BI — MTD
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e

Fowmy
Super User
Super User

@icdns

¿Puede usted esta medida:

My formula: FINAL YTD =
DIVIDE(
    [YTD%],
    MAX(DIM_DATE[Month_No])
) 

________________________

¿He respondido a tu pregunta? Marque este post como una solución, esto ayudará a otros!.

Haga clic en el icono Thumbs-Up a la derecha si le gusta esta respuesta 🙂

Youtube Linkedin

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.