- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Zeros in Matrix Rather Than 1 per Day (Census Values)
Good Morning,
My table has columns including a start and end date column. From that column I need to show the census per day in a date range.
Which is working great if I use a Matrix and just total for a date range. As soon as I add the Date to the Columns I get "0" in each column which should count for 1 day but the totals are correct.
Days of Mo 1 2 3 4 5 6 7 Total
Patient1 0 0 0 0 0 5
Patient2 0 0 0 3
My totals are also blank. I have the Measure format set up as a whole number and the date field are dates.
Can anyone help me with what I a doing wrong that the days are rendering with "0" rather than a "1"?
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found it. Added +1 to the first if Return. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found it. Added +1 to the first if Return. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Allisond
Try this measure that use the [Census] measure you already have
Measure =
SUMX ( DISTINCT ( Dates[Days of Month] ), [Census] )
Dates[Days of Month] is the field you are adding to the visual that makes it not work
If the above doesn't work I'd need a more detailed explanation in what fields you are using in the visual and how
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Allisond ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview. ✨
️ November 12th-14th, 2024
Online Event
Register Here
Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - January 2025
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
Subject | Author | Posted | |
---|---|---|---|
06-14-2024 04:14 AM | |||
04-10-2024 07:15 AM | |||
06-10-2023 10:13 AM | |||
08-15-2024 03:49 PM | |||
08-12-2024 02:36 AM |
User | Count |
---|---|
104 | |
75 | |
44 | |
39 | |
33 |
User | Count |
---|---|
165 | |
90 | |
65 | |
46 | |
43 |