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've produced a chart plotting daily occupancy (From wonderful support on here!).
The info comes from a spreadsheet called "Data" in a format like:
ID Number Name Programme Start Date End Date Location
ID-11111 John Smith Pgrm 1 01/04/2023 03/06/2023 Staffordshire
ID-11122 Phil McCrackin Pgrm 2 26/10/2023 04/12/2023 Derbyshire
ID-11133 Robin Banks Pgrm 1 25/08/2023 26/09/2023 Leicestershire
ID-11133 Robin Banks Pgrm 2 26/09/2023 15/10/2023 Leicestershire
I've inclued a new column inside "Data" called "Column" = 1
I also needed to produce a new date table called "Date23-24" with every single day of the year.
I then added this measure:
Solved! Go to Solution.
Thank you for the reply.
I'm just trying to track/count daily building residency. Swapping between certain critera. Using an active spreadsheet that uses a start & end date.
I followed a youtube tutorial
which gave me the total Value measure - i'll return to it and check. Although at the time I double checked against an excel version I have and it seemed to match.
I tried modifying the Total Value measure initially, but failed!
I think i need to concentrate on learning more dax instead of winging it lol.
Thanks
Got the pbix, thanks.
You are using a disconnected date table so that you can use Fact data between the start date and end date.
The card won't respond to changes in the date slicer because there is no relationship between the 2 tables.
You'll need to write a measure similar to the Total Value measure for this
---
However, are you happy with the Total Value measure? To me (and I don't know your business requirements) the date comparisons don't look correct.
max('Date23-24'[Date]) is the max value from the date slicer. You don't seem to be using the min value at all.
Thank you for the reply.
I'm just trying to track/count daily building residency. Swapping between certain critera. Using an active spreadsheet that uses a start & end date.
I followed a youtube tutorial
which gave me the total Value measure - i'll return to it and check. Although at the time I double checked against an excel version I have and it seemed to match.
I tried modifying the Total Value measure initially, but failed!
I think i need to concentrate on learning more dax instead of winging it lol.
Thanks
Hi, @FlankyPank2___
Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!
Best Regards
Yongkang Hua
I think you've got to the point where we need to see your pbix to investigate this.
Post a pbix with sample data and i'll have a look.
I hope that works lol. Sorry it took so long.
I've kind of changed the data groups on this. But if i select Amber, the card and treemap reflect the distinct count of ID Numbers but it isn't responsive to the Qtr, Month date slicer.
The same occurs when i select a programme from the treemap. I'd ideally like the ID number to distinct count responsively with the Date Slicer.
I hope my link works & it all makes sense!
Thanks for your help.
ok, thank you.
My original has sensitive data so i'll create a mock one & share it. Thanks
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
72 | |
62 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
62 | |
59 | |
56 |