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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
PowerBI_Noob123
New Member

Filter on multiple companies to find value at a certain date

Hi, I am new to Power BI and would like to filter on companies to find a date value, but cant seem to structure my data correctly. This is a short example of my data: 

PowerBI_Noob123_0-1671721099683.png

 

F.ex. I would like to filter on both company and date to extract a value (yellow cell f.ex). How would I need to structure my data/relationships to manage this? Thank you!

1 REPLY 1
johnt75
Super User
Super User

I would change the structure so that instead of having each company in a column the table has 3 columns: Date, Company and Value. Then create a proper date table with a one-to-many relationship to both your fact tables and create a dimension table which has all of the companies and which has a one-to-many relationship to both your fact tables. Then you can use columns from your new date and company tables in visuals or filters to show the value for a given company and date combination.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.