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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
vavida52
New Member

Data filtering issue

Hello,

 

I am quite new to Power BI and I want to gain experience by implementing my own private projects. I want to create a dashboard where I can visualize stocks in my portfolio. Upfront, I have an automation which captures stock values for each stock in my portfolio on a daily basis. Values are stored in an Excel file (see table 1).

 

I tried to visualize the stock value against the date which worked fine. In the next step I wanted to use a treemap (by using the stock names in table 2) as a nicer looking filter where I can select the stock/s I want to display. And here comes the problem. 

 

I am not able to filter to any stock name. The only thing I can filter for is the date which shows a data set of all stock values for that day but I want to filter for a specific stock and see the graph across a time period like we know in stock websites or apps.

 

I was thinking that I could connect both tables in the data model but it does not seem to work. Any advise on this? Or is it even impossible to achieve what I was thinking of?

 

Thanks in advance!

 

1.png2.png

 

 

 

1 ACCEPTED SOLUTION

Thank you. I solved the issue myself. Problem is the format of the table 1 which with the wrong structure. I had to transpose the table and put and accept that I would have multiple rows with identical stock name. Now everything works as expected (I can filter the page via the treemap).

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @vavida52,

Treemap visual normally will interaction with other visult based on its category fields and it not suitable to work as date range filter.
If you want it apply filter to the date range, I'd like to suggest you add a slicer with date field as source, and use slicer mode 'between' to apply filter effects.

Slicers in Power BI - Power BI | Microsoft Learn

Regards,

Xiaoxin Sheng

Thank you. I solved the issue myself. Problem is the format of the table 1 which with the wrong structure. I had to transpose the table and put and accept that I would have multiple rows with identical stock name. Now everything works as expected (I can filter the page via the treemap).

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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