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.
Hi All,
I have the following measure on a power bi visual but would like to apply a filter to it in the measure (rather than on visual) so that it includes months year to date starting with June 2025 (i.e. will only show June and July so far for 2025). Please could someone assist?
Thanks
Solved! Go to Solution.
@kbbsl , Try using
DAX
Total percentage =
IF(
SELECTEDVALUE(Total[Month]) = "Total",
CALCULATE(
'Briefing List'[Total percentage part 1],
FILTER(
ALL('Date'),
'Date'[Date] >= DATE(2025, 6, 1) && 'Date'[Date] <= TODAY()
)
),
'Briefing List'[Total percentage part 1]
)
Proud to be a Super User! |
|
@kbbsl , Try using
DAX
Total percentage =
IF(
SELECTEDVALUE(Total[Month]) = "Total",
CALCULATE(
'Briefing List'[Total percentage part 1],
FILTER(
ALL('Date'),
'Date'[Date] >= DATE(2025, 6, 1) && 'Date'[Date] <= TODAY()
)
),
'Briefing List'[Total percentage part 1]
)
Proud to be a Super User! |
|
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
20 | |
15 | |
14 | |
10 | |
7 |