Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I would like to create an option to filter data by chosen date range.
Here is an example:
In this example you can see the data table on the left. in the middle you can choose a date range and by pressing the button you will add another column to the table that will be on display (the table on the right) with custom header according to the date range the client choose and with a value that sums up all the values in this range.
* Please notice that the button can be pressed multiple times and every time a column should be added in addition to the ones that were already added.
I would really appreciate some help, Thanks! 🙂
@shakedb70 well if that is what you are looking for then that is not possible in Power BI, in this case you need to use
- some external source where you store the data
- Power Automate flow to embed in the power bi and on click ok button pass the value to Power Automate and write it in a table
-. Read that back in Power BI to refresh the visualization.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@shakedb70 it is pretty straightforward, add a date dimension in your model and set the relationship on date from the date dimension and transaction table. use the date from this new table as a slicer using between as an option and then add the following measure:
Total Employees = SUM ( YourTable[Hired Employees] )
and now you visualize this in a table to show the total employees hired in the range, to learn more about date dimension check my youtube playlist https://youtube.com/playlist?list=PLiYSIjh4cEx2FkuGkngYruS0wm8MYFsoi
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi, Thanks for the reply but I think you didn't understand what I wanted to do, I want to have an option to add as many columns as I want to the table on the right every time the button is clicked according to the selected date range (so the user will be able to compare each date range value he adds with the others) but this solution won't work for more than one column added.
User | Count |
---|---|
117 | |
75 | |
62 | |
50 | |
44 |
User | Count |
---|---|
174 | |
125 | |
60 | |
60 | |
57 |