Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.