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
Digger
Post Patron
Post Patron

Not applying date slicer filter

I use calculated columns formula

 

_CountPay =
VAR thisOrderID = [order_id]
RETURN

COUNTROWS(
SUMMARIZE(
FILTER(
ALL(Table)
,Table[order_id] = thisOrderID
&& Table[type] in {"initial","upsell"}
)
,
[ID])
)
 
In visual matriix i use measure
 
_CountPayM =
SUMX (
SUMMARIZE ( Table, Table[_CountPay],Table[id])
,CALCULATE(MAX(Table[_CountPay]))
)

Table
[created_at.1] relate to Calendar[Date]

So when i use Calendar[Date] in slicer and select one month, _CountPayM measure return same rezult as no date selected, but i need filter by selected slicer dates. How to fix that?


1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi,  @Digger 

I did not find any problems with your formula.

In a card visual, will the value of _CountPayM be affected by the date slicer?

Please recheck your date table and the relationship between the tables. Make sure you use the correct table fields to create the matrix visual and slicer.

If possible , please share your sample file and expected result for further research.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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