cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Hello, I want to make 2 visualizations on the same query. Can I define separate filters for each visualization?

shlead
New Contributor III
7 REPLIES 7

Manoj12421
Valued Contributor II

Yes you can make just do the same query with different โ€‹filter on new cell and it will be created because using different filter will provide you different record

shlead
New Contributor III

Thanks, is there a way to use only one cell for dataset output and its usage in different graphs with different filters?

poet_RY
New Contributor III

@Tanya Shafirโ€‹  - If you can use matplotlib library, you can create multiple subplots which will give multiple graphs after executing one cell.

AdrianLobacz
Contributor

Yes, u can make two different visualizations on the same query and u can use different filters on every visualization

taufique_sekh
New Contributor II

Yes, you can create a new cell and run a same query with a different filter, as using a different filter would give you a different record.

shlead
New Contributor III

Can you show an โ€‹example how based on the same query to create 2 different visualizations with different filters?

Priyag1
Honored Contributor II

Yes , u can make

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group