The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have to Create 2 measures
Distinct count for the day
Distinct count for week
I am able to create measure
Distinct count for the day(DD) = CALCULATE(DISTINCTCOUNT('Sheet1'[EE Num]))
Distinct count for week (DW) = CALCULATE(DISTINCTCOUNT(Sheet1[EE Num]),USERELATIONSHIP(Sheet1[Start of week],'date'[Date]))
I am getting data only for Start of week, but I need to show same values for entire week
Please let me know if anyone got solution
Getting output in Power BI
output should be like
Thanks
Bhargav
Hi, @bhargavareddy89
You can share pbix files without sensitive data for testing purposes, which will help you solve the problem faster.
Best Regards,
Yang
Community Support Team
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
28 | |
13 | |
12 | |
12 | |
6 |