Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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:
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |