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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Snagalapur
Helper IV
Helper IV

Issue with slicer using calculated measure

Hi All,

 

Currently facing issue with slicer having calculated measures as mentioned below. I'm trying to filter table below based on slicer selction and slicer is not working please suggest.

 

Current month = MAX(‘Table’[current_period_ind])-1

Previous month = MAX(‘Table’ [current_period_ind])-2

Snagalapur_0-1740742034691.png

 

Parameter = {

    ("Current month", NAMEOF('MEASURES_TABLE'[Current month]), 0),

    ("Previous month", NAMEOF('MEASURES_TABLE'[Previous month]), 1)

}

 

Matrix table/Dataset sample:

Snagalapur_1-1740742128734.png

 

1 REPLY 1
grazitti_sapna
Super User
Super User

Hi @Snagalapur ,

 

Have you added parameter column to the table as it's not showing in the screenshot? if not You should add it to the table in order to filter data with parameter slicer. 

 

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!

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
Top Kudoed Authors