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
Anonymous
Not applicable

Show null when there is no data in line chart

Dear friends 

 

from pic belows, how can i let blue line chart null if there is no data on axis value (3)

Screenshot (146).png

what i need

Screenshot (146)_LI.jpg

 

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @Anonymous ,

 

Step1# 

Change the [Type] under [Format]->[X-axis] to "Categorical".

Step2#

Sort ascending the visual by Axis.

Result would be shown as below.

6.PNG

 

Best Regards,

Jay

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

View solution in original post

6 REPLIES 6
v-jayw-msft
Community Support
Community Support

Hi @Anonymous ,

 

Step1# 

Change the [Type] under [Format]->[X-axis] to "Categorical".

Step2#

Sort ascending the visual by Axis.

Result would be shown as below.

6.PNG

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
Anonymous
Not applicable

Hello @Anonymous ,
You can sort by the total pallet in ascending order.
Try and check.

amitchandak
Super User
Super User

@Anonymous ,

Change measure like

if([measure] =0, blank(), [Measure]) 

And Try and check

Anonymous
Not applicable

@amitchandak its not worked 😞

@Anonymous , Change axis type to categorical and check

Axis_type.png

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Anonymous
Not applicable

@amitchandak thanks for your advice but i tried , the axis not sort by ascending anymore.

 

Screenshot (148).png

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.