Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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
Hi This problem wasnt' solved unfortuanately - I've tried to alter my Total Value Dax but i cna't see the wood for the trees. I don't know if anyone can shed any light?
It's a disconnected table so I know that's where the challenge lies - Thanks
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 FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
88 | |
74 | |
63 | |
48 | |
36 |
User | Count |
---|---|
118 | |
86 | |
80 | |
58 | |
40 |