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.
I have created a DateKey table and linked it to my actual records. In my DateKey table I've added many colums, but also a Measure called CurrentFinancialYear. It has the value "2016", and will understandably change everytime I move into a new FY.
I'd like to use this measure as the filter for my pages/report, however PowerBI won't let me use a measure as a filter.
Is there any way in which I can use this measure to filter my report/pages?
Solved! Go to Solution.
@wi11iamr Yes it won't let you use measure for filters. Can you not create a new column instead with same formula and that will let you use that for filters or slicers ?
@wi11iamr Yes it won't let you use measure for filters. Can you not create a new column instead with same formula and that will let you use that for filters or slicers ?
Sorry to ask this on someone elses post, but how do you use a column (created with same formulae as the measure needed) within the Page Filter? I cant seem to get the Page Filter to accept the column without having to hard code the duration (month for example)
i can't use the same formula on column.
this is my measure:
me = if(CONTAINS('Query1 (2)','Query1 (2)'[combination1],[Measure 3]),1,0)
i want it contain 1 or 0 (true or false)
and to filter whthere the measure=1, but i can't use this formula to create the column
even the column = if(me=1,1,0) doesnt work. saying 'isempty' is not supported on DirectQuery.
i don't understand what's the point actually....
another thing- is there any power bi idea to use measure as a filter that i can vote to?
thanks
@ankitpatira Thanks for that prompt - I included a new field in my DateKey table to calculate "IsCurrentFinancialYear", and this I then use successfully to filter on my reports.
Much obliged!!
User | Count |
---|---|
74 | |
70 | |
39 | |
30 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
48 | |
46 |