Forum Discussion
How to create a date slicer for 2 data fields
- Anonymous5 years ago
Hi sacheu,
Please take a look at the following link to know how to find out the root file link of files stored on a cloud server, then you can use power bi desktop to get data from the online file directly:
Use OneDrive for Business links in Power BI Desktop
Regards,Xiaoxin Sheng
HI sacheu,
You can try to extract the date values from two tables to create a calendar, that you can use this as the bridge to link to tables.
After these steps, you can use bridge calendar to create a slicer and it will apply filter effects to two table records.
Regards,
Xiaoxin Sheng
- sacheu5 years agoMicrosoft Employee
Thanks. How can I create a calendar from 2 tables?
- Anonymous5 years agoNot applicable
Hi sacheu,
You can try this calculate table formula if it works on your side:
New Table = VAR _list = UNION ( ALL ( Table1[Date] ), ALL ( Table2[Date] ) ) RETURN CALENDAR ( MINX ( _list, [Date] ), MAXX ( _list, [Date] ) )Regards,
Xiaoxin Sheng
- sacheu5 years agoMicrosoft Employee
I am using an Excel spreadsheet online as the data source of my PowerBI report. In this setting, I don't see a way which let me enter the above formula in the report.