Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have an issue with a filter I need to implement in a Power BI dashboard in a real estate environment The Power BI Dashboard is connected to Azure Analysis Services in Live Connection Mode, therefore the model and measures are in AAS.
The so called 'In Standing' filter must be a slicer or bookmarkfilter that filters the Rental objects that are in exploitation at the start of a selected time period (selected using a date slicer).
Whether a rental object is in standing is determined by its 1st contract date which is a column in the DimVastgoedobject (the rental object.
The in standing filter must filter a matrix that has the number of Rental objects, Hire Rate, Abandon Rate sliced over dimRegion, dimComplex. This I managed to implement using a filter measure:
InstandingFilter :=
VAR EersteVerhuurdatum = MIN(dimVastgoedObject[dimVastgoedobjectEersteContractdatum])
VAR BegindatumPeriode = CALCULATE (
MIN(dimDate[DateDate]);
VALUES(dimDate[DateDate])
)
RETURN
IF( EersteVerhuurdatum <= BegindatumPeriode;
1;0
)
However if I want to do a trend analysis over time in a linechart then filtering using Instandingfilter = 1 doesn't work.
Any ideas how to make this work?
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
9 | |
8 |