Forum Discussion
Multi Level Filter
I have a matrix, I'd like to be able to exclude all rows that have a zero value in Sep 16, Oct 16 AND Nov 16. The filters seem to work on their own and you can add an and/Or Filter within each month, but not accross all months. Am I missing something?
To clarify, I want to look at all records that have a value in any of those three months, if its in another month, exclude it. eg. in the table below, Joshua On should be excluded, as his due date falls outside the months I am wanting to look at
Tania
taniabyrnes I see your problem. Way to overcome that is in power bi desktop go to query editor -> then add conditional column under Add column tab as shown below -> then in page-level filter use that conditional column to be equal to 1.
7 Replies
- AnonymousNot applicable
Hi taniabyrnes
1. What is your data model ?
2. What criteria you use to build the three months of the report? is it based on a slicer of 3 months ??
Please clarify.
Cheers
CheeenuSing
- taniabyrnesNew Member
Hi Anonymous thank you for your reply. Im afraid Im not sure I understand your questions though, sorry. The source data is a spreadsheet that has many months when a clients account may be due. I only want to look three months ahead. I have all the data in Power BI. The criteria to create the table is also shown below. Does that answer your questions adequately?
query from created from excelcriteria
- ankitpatiraCommunity Champion
taniabyrnes What you've got is almost correct except for the filters instead of having 'is not blank' change it to 'is greater than' and make it greater than 0.
- AnonymousNot applicable
While the solution by ankitpatira requires that every time you have to change the page level filter when you go by different months. From Sep 16 to Oct 16 to Nov 16 to Dec 16 to Jan 17 etc.
Which in my opinion would be cumbersome and you have to remember this.
The alternative suggested by me will work irrespective the month you are in for the next three months from thereon,
Cheers
CheenuSing