Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello!
I have to create a visual that shows data from 6 months after an specific date. The goal is to analyze KPIs from campaingns in the first 6 months after they were released. It will show only one campaingn at a time.
My dCalendar starts at 1990, but some campaings were released e.g. in May/2020. Therefore, I need the visual to show the results from May to Oct/2020. If I filter another campaingn (e.g. Jan/2019), I will need the visual to show the results from Jan to Jun/2019, etc.
Is there any way I can do that in Power BI?
Solved! Go to Solution.
@levcovitz , if you select a date and want to data more than that. Then slicer need to be independent date table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _min= maxx(allselected(Date1),Date1[Date])
var _max= eomonth(_max, 5)
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))
@levcovitz , if you select a date and want to data more than that. Then slicer need to be independent date table
//Date1 is independent Date table, Date is joined with Table
new measure =
var _min= maxx(allselected(Date1),Date1[Date])
var _max= eomonth(_max, 5)
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))
User | Count |
---|---|
123 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
185 | |
92 | |
67 | |
62 | |
52 |