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
sujitjena
Resolver I
Resolver I

Calendario de QTD Fuction para el ejercicio

Hola a todos

Soy nuevo en la función QTD que se introduce en las funciones inteligentes de Power Bi for Time. Por alguna razón no sigue el ejercicio que he definido (CalendarAuto). Se remonta al formato de año calendario. ¿Hay algún argumento específico de que me estoy perdiendo aquí. Estas son las funciones que intenté

CALCULATE((SUM(sales[sales],DATESQTD(Dates[Date]),Sales[Dimension]-"Actual")
TOTALQTD(SUM('05 SGCCR'[NR]),Dates[Date])
¿Alguna sugerencia?
8 REPLIES 8
amitchandak
Super User
Super User

@sujitjena , Probar como

CALCULATE(SUM(sales[sales]),DATESQTD(Dates[Date]),Sales[Dimension]-"Actual")

También con datesqtd es necesario tener la fecha seleccionada

Power BI — QTD
https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839

@amitchandak - Gracias por la respuesta rápida, pero esto sólo funciona con trimestres calendario normales. Para mí, el trimestre financiero comienza en sep.

@sujitjena La función TOTALQTD y DATESQTD no son conscientes del calendario fiscal/ejercicio financiero. usted tiene que administrar su propio cálculo para QTD para cumplir con su calendario financiero, aunque las funciones YTD son conscientes del año fiscal, ya que puede pasarle su propio valor de fin de año fiscal.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionadas con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k : Gracias por una respuesta rápida. ¿Hay alguna manera de hacer que estas funciones sean conscientes del calendario? porque pensé que una vez que haya definido mis trimestres en la tabla CalendarAuto, la función QTD seguirá lo mismo.

Hola @sujitjena ,

Podrías intentarlo así:

Cree una tabla de calendario fiscal:

https://goodly.co.in/financial-year-calculation-excel-and-power-bi/

Cree una medida QTD:

Measure = CALCULATE (
[Total Amount],
FILTER (
ALL ( ‘Calendar’ ),
‘Calendar'[FiscalYear] = MIN ( ‘Calendar'[FiscalYear] )
&& ‘Calendar'[FiscalQuarter] = MIN ( ‘Calendar'[FiscalQuarter] )
&& ‘Calendar'[Date] <= MAX ( ‘Calendar'[Date] )
)

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Gracias, estuve buscando una solución como esta durante tanto tiempo.

@v-xuding-msft : Thank you for the solution and i am using this already. But i was wondering if Microsoft indroduced QTD function, it should be able to accomodate financial calanders for Quarters like the YTD function, else its of less use. 

 

 

Hola

En la tabla de calendario, tendrá que crear una columna Trimestre. Comparte el enlace desde donde puedo descargar tu archivo PBI.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.