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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Setting a measure based on the number of months selected in a slicer

Hi

 

I am trying to create a measure that changes based on the number of months selected in a slicer. For example if only one month is selected, the target is 100, if two months it is 200, etc. Can someone help with this please?

 

Thanks

1 ACCEPTED SOLUTION
Grambi
Frequent Visitor

Try this:

 

NewMeasure = COUNTROWS(VALUES(Table[YearMonth)) * 100

 

View solution in original post

2 REPLIES 2
Grambi
Frequent Visitor

Try this:

 

NewMeasure = COUNTROWS(VALUES(Table[YearMonth)) * 100

 

Anonymous
Not applicable

That's great, thank you!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors