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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Syndicate_Admin
Administrator
Administrator

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].[ Year],
FactInternetSales[DueDate]. [Quarter],
FactInternetsales[DueDate]. [My],
FactInternetSales[DueDate]. [Day]))

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

CarlomV_0-1650135588988.png

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@Syndicate_Admin 
You need to also add the columns [MonthNo] and [QuarterNo]
(Alltough you don't see them in the visual they are used in the query that creates it in order for the months and quarters to be sorted correctly)

View solution in original post

3 REPLIES 3
SpartaBI
Community Champion
Community Champion

@Syndicate_Admin 
You need to also add the columns [MonthNo] and [QuarterNo]
(Alltough you don't see them in the visual they are used in the query that creates it in order for the months and quarters to be sorted correctly)

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

You are welcome. My pleasure.
Could you please mark this as a solution 🙂
Thank you

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors