Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hey Community,
New to Power Bi and have been playing around for a month or so with it.
I was wondering if there is a way to use a specific date to filter and run data for. Like in excel I can have a date in one cell which I can change/select and all the calculations, and the data gathered is for that date.
I want to use that date for "if statements" and other formulas, would like a box/date table similar to the following to diaplay on the dashboard
Thoughts??
Cheers
Solved! Go to Solution.
Hi @Anonymous ,
So you means you want to get selected value from slicer/filter, right? If this is a case, I'd like to suggest you to use selectedvalue, allselected functions to get selection items.(they will effect by current filter effect)
Using the SELECTEDVALUE function in DAX
The definitive guide to ALLSELECTED
Regards,
Xiaoxin Sheng
HI @Anonymous ,
You can try to add slicer with data fields, then you can use slicer to filter your visual data based on selected date values.
Regards,
Xiaoxin Sheng
Hey @v-shex-msft,
Using the Slicer for the filter on the page is that I am familiar with. What about adding it into the table calculations.
Such as if I have a table which uses IF statement - IF(entered date<today(),x,y) I want to have a cell where I can input that "entered date" on the dashboard and run the file after that.
Let me know if I am not clear enough.
Cheers.
Hi @Anonymous ,
So you means you want to get selected value from slicer/filter, right? If this is a case, I'd like to suggest you to use selectedvalue, allselected functions to get selection items.(they will effect by current filter effect)
Using the SELECTEDVALUE function in DAX
The definitive guide to ALLSELECTED
Regards,
Xiaoxin Sheng
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |