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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
salonikhedkar_1
Helper II
Helper II

Disruption due to formula

When we select "Show items with no data", a blank row appears. How to fill the blank row with 0 ?

 

I have tried this formula:

if(isblank(calculate(sum(amount), sameperiodlastyear(date))),0,calculate(sum(amount), sameperiodlastyear(date))))

 

But this formula disrupts other column which is driven by an IF statememt:

if(Country = "United States of America" && month(date)>=1 && month(date)<=3, 100,

If(Country = "United States of America" && month(date)>=4 && month(date)<=6, 200,

if(Country = "United States of America" && month(date)>=7 && month(date)<=9, 300,

if(Country = "United States of America" && month(date)>=10 && month(date)<=12, 400)

 

it is adding extra 0's in the visual.

 

I am totally confused on why the first formula is caused such big issues.

 

Appreciate your quick responses.

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

Really difficult to answer, can you post your PBIX or images or Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.