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
Anonymous
Not applicable

Dynamically Calculate the Frequency of selection

Hi Experts

Have slight trouble in trying to work out the frequency based on Date column from the atatched PBIX file. what i want to be able to do is if i have the following filter. 

Material_ID

Country_Orgin_NM

Manufacturing-Site

I want to be able to work out dynmically the frequency of the selection based on the Fical_Month_Start_DT column

so if i select just

1. Material ID from a filter..ID 72200561S i know we have 85

2. if i select Material_ID as above and then from filter USA we have 61

 

i want to be able to do this using a measure.

https://www.dropbox.com/s/hv5fahxl9juv9tb/Test.pbix?dl=0

 

 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @Anonymous ,

 

unfortunately I do not understand how you define "frequency" and how this relates to the date column.

 

But maybe it's as easy as this and you can define this measure:

Measure = COUNTROWS('PMSData')

or a little more complicated like this:

Measure = 
CALCULATE(
    DISTINCTCOUNT('PMSData'[FISCAL_MON_START_DT])
)

Hopefully this provides you with some ideas, if not, please what explain how the frequency has to be calculated.

 

Regards,

Tom

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
TomMartens
Super User
Super User

Hey @Anonymous ,

 

unfortunately I do not understand how you define "frequency" and how this relates to the date column.

 

But maybe it's as easy as this and you can define this measure:

Measure = COUNTROWS('PMSData')

or a little more complicated like this:

Measure = 
CALCULATE(
    DISTINCTCOUNT('PMSData'[FISCAL_MON_START_DT])
)

Hopefully this provides you with some ideas, if not, please what explain how the frequency has to be calculated.

 

Regards,

Tom

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Hi Tom

Let me check and I'll come back to 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