Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jburklund
Helper III
Helper III

Filtering two tables for different last filters

I need to create a dashboard with one filtering section that will create 2 separate tables. Each of the tables are filtered identically until the last filter. The user selects between 3 filters, with the last being the state. From there, I need to diverge the 4th filter so that one table will be created based on markets within that state, and the other table will be created based on regions within that state. Is there a way to do this without creating separate filtering sections for both? 

3 REPLIES 3
Greg_Deckler
Super User
Super User

Potentially but hard to say without example data and expected output. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

In the table of sample data below, I am filtering by the red columns (Value Type > Meter Type > Report Type > State). The state filter is coming from a separate table that breaks out states and their regions and states and their markets. In the first row of data, I am creating a table based on the market - Boston, Cambridge, Newton and outputing the columns on the far right. I would like to create a second table that uses the same filters (Value Type > Meter Type > Report Type > State) but then connects to states and their regions. I have been able to do this for both tables, but not at the same time without repeating the beginning filters (Value Type > Meter Type > Report Type > State).

 

DateMarket Segment/RegionStateReport TypeMeter TypeValue Type Number of Properties  Number of Units  Avg. No. of Units/Property  Avg. No. of Square Feet/Unit Turnover rate in %
2018BOSTON-CAMBRIDGE-NEWTON, MA-NHMAIM RSIM RS$ Per Unit               10         2,179            218         1,02736.0%
2018OTHER REGION II MARKET RENT PROPERTIESMAIM RSIM RS$ Per Unit               41         9,839            240            95829.9%

 

Here is my desired output. The grey box includes the assumptions that cover both tables, and you can see that I only have one table now for "Market Segments" which connects to my states and their markets table. I would like a table right next to this that uses the same assumptions from the grey box but connects to my states and their regions table to pull that row of data. Note, I am saying table because I do have tables of data that filter, but it's proprietary so I'm just showing my card output.

 

sampleoutput.PNG

I should add, this is what my other tables look like as a sample:

 

StateMarket
MABOSTON-CAMBRIDGE-NEWTON, MA-NH

 

 

StateRegion
MAOTHER REGION II MARKET RENT PROPERTIES

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.