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.
Hola a todos, quiero mostrar las 5 categorías principales con YTD y Total. Quiero mostrar las categorías principales basadas en Total no basado en YTD.
Puedes tener ytd como
Ventas YTD á CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))
Ventas globales: CALCULATE(SUM(Sales[Sales Amount]),all('Date'))
En las ventas generales puede tener el rango o el N superior para la categoría y el filtro
Top 5 categoría Rango - CALCULATE([Ventas generales],TOPN(10,all(Item[category ]),[Ventas generales],DESC),VALUES(Geography[Categoría de artículo ]))
Para rango Consulte estos enlaces
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |