The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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?
Solved! Go to Solution.
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.
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.
User | Count |
---|---|
69 | |
66 | |
62 | |
48 | |
28 |
User | Count |
---|---|
112 | |
83 | |
66 | |
48 | |
43 |