Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi
need help to calculate:
-number of visits per ID per department during period (count distinct id once per day, exclude duplicate).
the result of measures:
number of customers who visits 4 time during period =1 (ID 123)
number of customers who visits 3 time during period =1
if no custome have 4 visit the result 0
Solved! Go to Solution.
Hi @kuto ,
You can try below measure.
Number of customer with 4 visits during period = COUNTROWS(FILTER(ALL('Table'[Id]),CALCULATE(DISTINCTCOUNT('Table'[Date ]))>=4))
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Hi @kuto ,
You can try below measure.
Number of customer with 4 visits during period = COUNTROWS(FILTER(ALL('Table'[Id]),CALCULATE(DISTINCTCOUNT('Table'[Date ]))>=4))
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
Can you provide some example data or pbix files? Can't copy the data from the screenshot. And, what is you expected result?