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.
Normalmente enero es enero 1 -31, febrero es 2-28......
Mi empresa tiene un calendario PROPIO, en 2020,
Enero : 2019 Dic 29-2020 En 25 (todo 4 semanas)
Febrero : 26 de ene - 29 de febrero (todo 5 semanas)
Marzo : Mar 1 - Mar 21 (todo 4 semanas).....
¿Qué debo hacer cuando elijo presentar datos por año o mes (usando el propio calendario de mi empresa)? Gracias.
hola @Ytung
Podría personalizar una tabla de fechas de calendario por dax para crear una nueva tabla, pero para su descripción, sólo hay 4 semanas en un mes, ahora hay 4 * 7 * 12 336 días en un año? ¿Cómo definir los días restantes?
saludos
Lin
@Ytung, lo que está tratando de lograr aquí. YTD, MTD, etc.
El enfoque será hacer que funcione usando rangos al igual que lo que se ha hecho para la semana en este blog -https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
@Ytung Lee este post para obtener tu respuesta rápidamente.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
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.
Pruebe la siguiente codificación para crear la tabla datetime. Sólo contiene la fecha de 2019/12/29 a 2020/3/21 porque solo proporciona la lógica para ese período. Puede modificar la codificación.
Dates =
ADDCOLUMNS (
CALENDAR (DATE(2019,12,29),DATE(2020,3,21)),
"Year", YEAR ( [Date] ),
"Monthnum", MONTH ( [Date]),
"OwnCanlendarMonth", SWITCH(true(),[Date]<=date(2020,1,25),1,[Date]<=date(2020,2,29),2,[Date]<=date(2020,3,21),3)
)
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |