cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
schmidddddd
New Member

Two filtered dates in one single visual

We work in the backend with a star chart which we have integrated into our dashboard via the SQL server. Here we can set different filters.

 

- Goal: We want to display Factory Installation Start and Factory Installation End in a single visual (e.g. Gantt chart).
- In our SQL-Server-star chart, there is a date table on one side and a table that breaks down the dates for different milestones (e.g. Assembly Start & End, Factory Installation Start & End, etc.) on the other side.
- The date of the date table and the milestones of the second table are linked to each other by IDs respectively.
- However, in a visual like a Gantt chart, the date cannot be filtered in FI Start as well as FI End. If we try to do this, we will get the same value twice in the visual (e.g. 2x FI Start).

We have also already built two new tables with a DAX function and used each of them as sources for the FI start date and FI end date, which did not work. Power BI still accesses the SQL server data from the backend.

 

Can you guys help us solve this problem?

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @schmidddddd ,

 

As far as I know, the slicer cannot get two results from the same field at the same time.

As a workaround, you can pivot a column of dates into a column of start dates and a column of end dates. Then you can create a slicer for the start date and a slicer for the end date to filter.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-stephen-msft
Community Support
Community Support

Hi @schmidddddd ,

 

As far as I know, the slicer cannot get two results from the same field at the same time.

As a workaround, you can pivot a column of dates into a column of start dates and a column of end dates. Then you can create a slicer for the start date and a slicer for the end date to filter.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors