Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi, Someone assist me,
I have two dimensions (Country and City) and two fact tables like Fact1 and Fact2.
I'm trying to create scatter chart based on Fact1 (x) and Fact2 (y) values. but few of the Fact2 (Y) values are blank so it not showing all the country on the visual. For this case, Is it possible to show all the Country value? Currently, it is showing 4 countries because of x and y values.
If it is any blank value for X axis and Y axis should be consider as zero. How I can add dummi (zero) value for this?
My current data is look like,
Also, I attached .pbix file here Scatter chart.pbix - Google Drive
thanks,
Ram
Solved! Go to Solution.
Hi @Ramachandran ,
Here are the steps you can follow:
1. Create calculated column.
Column =
var _1=
CALCULATE(MAX('Fact2'[Y]),FILTER(ALL(Fact2),[Country]=EARLIER([Country])))
return
DIVIDE([X],_1)
Result:
2. Create measure.
flag =
IF(MAX('Fact1'[Column])=BLANK(),BLANK(),
"X"&"-"&FORMAT(MAX('Fact1'[Column]),"Percent"))
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Ramachandran ,
Here are the steps you can follow:
1. Create calculated column.
Column =
var _1=
CALCULATE(MAX('Fact2'[Y]),FILTER(ALL(Fact2),[Country]=EARLIER([Country])))
return
DIVIDE([X],_1)
Result:
2. Create measure.
flag =
IF(MAX('Fact1'[Column])=BLANK(),BLANK(),
"X"&"-"&FORMAT(MAX('Fact1'[Column]),"Percent"))
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Create a measure like sum(Fact2[Y])+0 and use
Thank you for your quick response and it is working fine.
I have one more question, I'm going to create percentage column based on x and y value. Is it possible to apply same thing in percentage field (new measure)?
For example, X - 65% (new measure), Y-75% (new measure)
thanks,
Ram
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!