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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Etai-Fiedelman
Frequent Visitor

Representing a single row in a visual

Hi everyone.

 

I have a large data set which has many rows with an ID number and a value for year.

I want to create a line chart which shows the value for each year. This part is easy but I also want to link it to another visual so when I press the point in the other visual which has the same ID only the relevant line chart will appear.

For example, I have a map with many facilities. Each faciliy has and ID which is identical in another data set with the value over the year (emissions). When I press a certain facility on the map I wan only the emissions of that facility to appear.

Here is the data set for emissions. Just to note, transposing the data does not help since it limits the amount of data (only 500 coluns)

EtaiFiedelman_0-1678951280348.png

Thanks!

Etai

1 ACCEPTED SOLUTION
Etai-Fiedelman
Frequent Visitor

2 REPLIES 2
Etai-Fiedelman
Frequent Visitor

Thanks !

amitchandak
Super User
Super User

@Etai-Fiedelman , one way is to have common facility dimesnion

 

second is use treatas pass value to another table measure

https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/

 

or measure like

calculate(countrows(table1), filter(Table1, Table1[facility] in values(Table2[Facility]) ))

 

Power BI- Power Query: When I asked you to create common tables: https://youtu.be/PqfGW6pl1Sw

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.