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

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.

Reply
sk1602
Frequent Visitor

Data disappears from visual when x-axis type is changed to categorical

I am a new user in power bi. I am trying to create a visual on a daily level. 

Below is the visual  created where date is showing as number of days of a month when in shared axis- the date field hierarchy is selected as DAY.

 

sk1602_0-1649249501154.png

 

Below is the visual when the shared axis shows the actual date field instead of date field hierarchy and x-axis type is selected as categorical:

 

sk1602_1-1649249709031.png

 

In this case, the stockouts_frequency data is not showing after the changes.

I need the data for both stockouts_frequency and stockoutcount.

 

Note: I am using line & clustered column chart.

 

Please let me know what is going wrong.

1 REPLY 1
MFelix
Super User
Super User

Hi @sk1602 ,

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.