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
CarlomV
Frequent Visitor

Allselected filtering data hierachy

Hi everybody,

 

When trying to delete hierarchy date filtering with ALLSELECTED in a matrix with date(rows) and Countries(columns), first hierarchy level (year) works well but the other  (quarter, month, day) don't delete their filter although using multiple columns in ALLSELECTED.     How could I solve it?   Thanks a lot for your help !!!.

 

%GrandTotalsinAno = CALCULATE(SUM(FactInternetSales[SalesAmount]),
ALLSELECTED(FactInternetSales[DueDate].[Año],
FactInternetSales[DueDate].[Trimestre],
FactInternetSales[DueDate].[Mes],
FactInternetSales[DueDate].[Día]))

 

(Figures not in bold should match the total column ones)

CarlomV_0-1650135588988.png

 

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@Syndicate_Admin
También debe agregar las columnas [MonthNo] y [QuarterNo]
(Aunque no los veas en el visual se utilizan en la consulta que lo crea para que los meses y trimestres se ordenen correctamente)

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

@Syndicate_Admin
También debe agregar las columnas [MonthNo] y [QuarterNo]
(Aunque no los veas en el visual se utilizan en la consulta que lo crea para que los meses y trimestres se ordenen correctamente)

Thanks a lot, I was convinced it should be easy but don't found it. You helped me.

De nada. Con gusto.
¿Podría por favor marcar esto como una solución? 🙂
Gracias

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.