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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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