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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
pedrostt8
New Member

dax

Boa tarde.

 

Estou com um problema, tenho uma meta definida porém no mês que não tem realizado o visual fica em branco, tem alguma dax que eu faça para que quando não ter realizado ele preencha com 0 para que eu consiga realizar o calculo e mensurar quando não ter realizado no mês ?

Help, please!!!!

pedrostt8_0-1721850802992.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @pedrostt8 ,

I create a table as you mentioned.

vyilongmsft_0-1721885190965.png

Then I create a measure and here is the DAX code.

Achieve = MAX('Table'[Achieve1])

vyilongmsft_1-1721885365340.png

It shows Achieve is blank, so I create another measure.

Measure = IF('Table'[Achieve]=BLANK(),0,'Table'[Achieve])

vyilongmsft_2-1721885454871.png

 

 

 

Best Regards

Yilong Zhou

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

2 REPLIES 2
Anonymous
Not applicable

Hi @pedrostt8 ,

I create a table as you mentioned.

vyilongmsft_0-1721885190965.png

Then I create a measure and here is the DAX code.

Achieve = MAX('Table'[Achieve1])

vyilongmsft_1-1721885365340.png

It shows Achieve is blank, so I create another measure.

Measure = IF('Table'[Achieve]=BLANK(),0,'Table'[Achieve])

vyilongmsft_2-1721885454871.png

 

 

 

Best Regards

Yilong Zhou

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

@Anonymous  thank you very much have a good day !!!!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.