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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have two tables
1.Customer > Customer Name , Created Date
2.Date Table > Year , Month , Date , Week In Year
Now the scenario is: I want count the Week In Year(Date Table) But In the range of Created Date which is the column in Customer Table but the issue is the relation is inactive between customer and date table
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
@mh2587 , Try a measure like
=
var _max = maxx(allselected(Customer),Table[Created Date])
var _min = minx(allselected(Customer),Table[Created Date])
return
calculate( distinctcount(Date[Week In Year]), filter('Date', 'Date'[Date] <=_max && 'Date'[Date] >=_min))
Thanks for the response but it's Not working
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |