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 September 15. Request your voucher.
I have an issue with a KPI report I have. The report shows KPI for our it tickets for example if the Breached response or if they where fixed first time. The report has number of KPI per page and shows last month % and below 3 months % in line chart. We currently use basically the following code.
IF(
ISFILTERED(
IV_dim_CALENDAR_ResolvedDate[YearMonthShort])
, CALCULATE([_KPI_FirstCallRes]
),
CALCULATE([_KPI_FirstCallRes]
, IV_dim_CALENDAR_ResolvedDate[Is Current Month] = "True"
)
)
However I want to change this so that Specific date table is filter useing a measure. If no specific month is selected then use last month as the filter. Because currently way we do will not carry the last month date through to our drill-through page properly. It only works if you select a specific date. In our caase from small line chart shown under the KPI % .
I feel this should be simple enough but I cannot get it to work (I would supply pbix to help but ours has over 30+ tables in it)
I'm not sure I understand. I don't want to create a new table but in some way filter the date table I have to just show required date range. Ie
@AdrianLock , You can not create a new table, which will filter by measure. As it will only take the static value of the measure.
You can create a measure that will filter based on another measure and use that in visualization
Sumx(filter(Table, [Measure] >1),[Measure])
or
Sumx(filter(Values(Table[Visual Column]), [Measure] >1),[Measure])
User | Count |
---|---|
65 | |
60 | |
55 | |
54 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
46 |