Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I want to count how many times an ID shows up in a given time frame and show that as a chart. I created a column that converts the date into the week of the year. What I am trying to show is how many times someone came into the building in a given week.
Table_1
ID | Date | Week |
1234 | 1/1/2022 | Week 1 |
1234 | 1/2/2022 | Week 1 |
1235 | 1/1/2022 | Week 1 |
Chat |
|
Solved! Go to Solution.
HI @aslure,
I'm not so clear about your frequency field definitions, can you please share some detail about these? They will help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
In addition, you can also try to use the following measure formula if helps:
formual =
CALCULATE (
COUNTA ( Table[ID] ),
ALLSELECTED ( Table ),
VALUES ( Table[Week] ),
VALUES ( Table[frequency] )
)
Regards,
Xiaoxin Sheng
HI @aslure,
I'm not so clear about your frequency field definitions, can you please share some detail about these? They will help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
In addition, you can also try to use the following measure formula if helps:
formual =
CALCULATE (
COUNTA ( Table[ID] ),
ALLSELECTED ( Table ),
VALUES ( Table[Week] ),
VALUES ( Table[frequency] )
)
Regards,
Xiaoxin Sheng
@aslure , With help from i ndependent date table and group by
Cnt measure = count(Table[ID])
//Idependent table
Bucket Table = Addcolumn( generateseries(1, 100,1), "Bucket Name", "Bucket " & format([value], "00"))
Countx(filter(values(table[Week]) , [Cnt measure] =Max('Bucket Table'[Value])), [CourseName])
Refer
Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...
Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k
What are you referring to when you say [CourseName]?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
12 | |
11 | |
8 |
User | Count |
---|---|
24 | |
19 | |
12 | |
11 | |
10 |