Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sperry
Resolver I
Resolver I

Cumulative Values Not Showing Correctly On Date Axis

I would like to present a graph that shows the cumulative number of booster vaccinations required by month. created a 'dummy' model containing the scenario. Please see model in link below. I seem to be getting some spurious data for months where I am expecting no data.

 

 

sperry_0-1648771893538.png

 

CumulativeForForum.pbix

2 ACCEPTED SOLUTIONS

Hi @sperry ,

Please try to update the formula of measure [Total Cumulative Boosters Required Maori] as below and check whether it can get your expected result. You can find the details in the attachment.

Note: The part with red font is updated one...

Total Cumulative Boosters Required Maori =
IF (
ISBLANK ( [Total Cumulative Eligible Booster Māori] )
|| ISBLANK ( [Total Cumulative Boosters Administered DHB Residence Māori] ),
BLANK (),
( 'COVID-19 Vaccinations DHB of Residence'[Total Cumulative Eligible Booster Māori] - 'COVID-19 Vaccinations DHB of Residence'[Total Cumulative Boosters Administered DHB Residence Māori] )
)

yingyinr_0-1649149388605.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Perfect - works a treat..thanks for that

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

Your data has blank "Eligible Booster Date"  fields.

You are absolutely right - I use the data for several reasons so some rows are validly blank for the "Eligible Booster Date"  fields. Not sure how this helps me. If I filter out the blank dates then incorrect values are shown in the column chart visual

Hi @sperry ,

Please try to update the formula of measure [Total Cumulative Boosters Required Maori] as below and check whether it can get your expected result. You can find the details in the attachment.

Note: The part with red font is updated one...

Total Cumulative Boosters Required Maori =
IF (
ISBLANK ( [Total Cumulative Eligible Booster Māori] )
|| ISBLANK ( [Total Cumulative Boosters Administered DHB Residence Māori] ),
BLANK (),
( 'COVID-19 Vaccinations DHB of Residence'[Total Cumulative Eligible Booster Māori] - 'COVID-19 Vaccinations DHB of Residence'[Total Cumulative Boosters Administered DHB Residence Māori] )
)

yingyinr_0-1649149388605.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Perfect - works a treat..thanks for that

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors