Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Good morning
I have a table that provides me with figures as in the schema below
Date individual value
1/4/24 Lola 1.2
1/4/24 Lola 0.7
2/4/24 Lola 2.5
Each day may have more than one entry per individual and several individuals
I have the following measure which provides me with daily values
Solved! Go to Solution.
@MyWeeLola , You can try like
Last 7 =
var _max = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())
var _min = _max -7
return
CALCULATE([Your Measure] ,DATESBETWEEN('Date'[Date],_min,_max))
@MyWeeLola , You can try like
Last 7 =
var _max = if(isfiltered('Date'),MAX( 'Date'[Date]) , today())
var _min = _max -7
return
CALCULATE([Your Measure] ,DATESBETWEEN('Date'[Date],_min,_max))
User | Count |
---|---|
89 | |
82 | |
51 | |
40 | |
35 |