This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I have a table of absences e.g
| Name | Start Date | End Date |
| John | 01/08/23 | 30/08/23 |
| John | 10/03/23 | 11/03/23 |
| Mark | 02/08/23 | 04/08/23 |
I want users to be able to select a date e.g. 03/08/23 and to return John and Mark as being absent on this date
How best would I do this?
Solved! Go to Solution.
Hi,
If you are going to use a single value for your date selection you could use something like this:
Thank you for this - applied it easily to my visuals and works beautifully 👍
Hi I have hit another issue, the measure works fine and displays a "yes" where absences cover the selected dates. I now want to do some counts and calculations but cannot do these on a measure, how do i do this?
Hi,
You should still be able to do calculations on a measure, do you have an example of a calculation you are working on with some sample data and i'll have a look at it
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Hi from what you sent me yesterday I need to understand how I go about being able to count or sum from the results of a measure or do I need a new measure whith slightly more complex code?
Ah okay, you should be able to use sumx to create a sum and just adjust the measure slightly, try the code below:
Perefct - thank you for your prompt help with this! 😊
Hi,
If you are going to use a single value for your date selection you could use something like this:
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 38 | |
| 28 | |
| 27 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 37 | |
| 32 | |
| 26 | |
| 25 |