Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello, I am trying to find a distinct count of locations within the first 15 days of a month.
Basically the 45 card is filtered by the dates between slicer and the 49 card is set to "Do Not Interact". I would like a measure that calcuates the 45 without needing a slicer. Thanks!
Solved! Go to Solution.
@water-guy-5 , Try like
measure =
var _max1 = minx(allselected('Date'), 'Date'[date]) //selected value or take today
var _max = eomonth(_max,-1) +15
var _min = eomonth(_max,-1) +1
return
calculate(sum(Table[Value]), filter(Table, Table[Date] >=_min && Table[Date]<=_max))
@water-guy-5 , if you need based on today's date
measure =
var _max = today() // or today() -1
var _min = today() -15 //or 16
return
calculate(sum(Table[Value]), filter(Table, Table[Date] >=_min && Table[Date]<=_max))
this will be for a kpi dashboard and the entire page will be filtered by relative date = in this month, so i don't need the specific days. more looking for "beginning of month", "beginning of month +15" or something like that.
@water-guy-5 , Try like
measure =
var _max1 = minx(allselected('Date'), 'Date'[date]) //selected value or take today
var _max = eomonth(_max,-1) +15
var _min = eomonth(_max,-1) +1
return
calculate(sum(Table[Value]), filter(Table, Table[Date] >=_min && Table[Date]<=_max))
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
42 | |
30 | |
27 | |
26 |