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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
christianfcbmx
Post Patron
Post Patron

How to get cero in my table but respecting filters???

 Hi dear Community, I need your help please.

 

I used to add a "+0" at the end of formulas that give a blank or empty spaces in tables.... I did the same thing with a formula I just made but is not working. ¿? I set the "+0" like in this example:  Visitas Sellers = CALCULATE(COUNT(Base[IDPROSPECTO]) +0;'dotacion (2)'[marca jefe] = 3)... This worked but its not the desired result because it makes show up evrything that contained empty spaces like the image two at the end of this post. (I mean, when I do this, the table is not respecting my filters)

 

I need cero and no empty spaces, anybody could give me a hand: my formula is:

 

Visitas Sellers = CALCULATE(COUNT(Base[IDPROSPECTO]);'dotacion (2)'[marca jefe] = 3)

this is the result:

  

 

1.JPG2.JPG

1 ACCEPTED SOLUTION
affan
Solution Sage
Solution Sage

Hi @christianfcbmx,

 

You can give a try to the following formula

Visitas Sellers = Var countbase=CALCULATE(COUNT(Base[IDPROSPECTO]);'dotacion (2)'[marca jefe] = 3)
Return IF(ISBLANK(countbase),0,countbase)

 

 

 

If you still have some issue please share your sample pibx file so that exact help can be provided

 

Please mark this post as an accepted solution if this helped you.

 

Regards,

Affan

View solution in original post

2 REPLIES 2
affan
Solution Sage
Solution Sage

Hi @christianfcbmx,

 

You can give a try to the following formula

Visitas Sellers = Var countbase=CALCULATE(COUNT(Base[IDPROSPECTO]);'dotacion (2)'[marca jefe] = 3)
Return IF(ISBLANK(countbase),0,countbase)

 

 

 

If you still have some issue please share your sample pibx file so that exact help can be provided

 

Please mark this post as an accepted solution if this helped you.

 

Regards,

Affan

I really Appreciate your Help!!!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.