Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
78 | |
78 | |
59 | |
35 | |
33 |
User | Count |
---|---|
100 | |
62 | |
56 | |
47 | |
41 |