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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
lukaspowerbi
Helper II
Helper II

Dynamically change data by date range slicer

Hello. I'm trying to find a way to dynamically change my data by using date range slicer.

Here is a simplified report per one unique ID:

Capture.JPG

and below is an output I get when using the date range slicer:

Capturee.JPG

I have a Member ID, Number of Events and Event Date columns. I would like to add a dynamic column that would count number of events by date range slicer to the right. (Date Range Slicer is using a same column as the table)

Essentially,I would like to add a NewColumn(calculated) or a measure that would be dynamic and also removed Event Date column so that my outcome would read only 1 event as below:

 

Member ID  Number of Events   NewColumn

977428        2  Events                  1

 

In other words,number of events = total number of events and NewColumn = Number of Events by the date Range slicer

 

1 ACCEPTED SOLUTION

@Cactus26 Thanks for you reply. Count(Event Date) doesn't make much sense to me. I think quick measure is the solution I am not sure how to start though

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

Hi lukaspowerbi,

 

Dynamic calculate column is not suported by dax, please use measure instead.

 

Regards,

Jimmy Tao

Cactus26
Helper I
Helper I

Try to create measure like Count(Event Date) and put it to your table 

@Cactus26 Thanks for you reply. Count(Event Date) doesn't make much sense to me. I think quick measure is the solution I am not sure how to start though

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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