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.
I have data coming from SQL server database. How can i get my table visual to show 180 days prior to the date selected in either a slicer or another line chart I have that gets refreshed daily. I just want to be able to freely click or hit a date and it show me the data in the table visual of that same date and 180 day.
Measure = CALCULATE( //your calculation here,
REMOVEFILTER([Date]), // only need this if you don't have a disconnected date table
DATEADD(SELECTEDVALUE[Date]), -180, DAY)
)
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
38 |