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
Yagevendra
Helper IV
Helper IV

Static X axis.

Hi all,
I have tried to make my visual x axis static but didn’t find expected result.
I have one visual where I need to fix the x axis, if user select any filter so it won’t change dynamically
I have tried to create summarized table and add +0 at the end of the code but not found expected result.
we have x axis like this and it will change day by day automatic <-20000 might be change to <-30000
or <-50000 on next day.



Yagevendra_0-1649243690872.png

 



If user select any date from the date filter its working fine each bucket related from that date will show on the x axis.
But when I select any other filter on dashboard like broadcaster, Visual X axis will change and showing me the data related to that broadcaster.

I tried to created summarized table but it will give me x axis like this.

Yagevendra_1-1649243690876.png

 


Complete x axis will show here, with wrong output.

I tried to make relationship between these tow table based on the related column
on date filter it will working fine but x axis will change on another filter.


I simple want my x axis change on date wise wise but other filter should not impact on it.


2 REPLIES 2
v-cgao-msft
Community Support
Community Support

Hi @Yagevendra ,

 

May I ask if your problem has been solved? Did MFelix's post above help you? If any of the posts are helpful, then please consider accepting it as a solution to help other members find it faster. Many thanks!

 

It makes it easier to give you a solution.

  1. Sample (dummy dataset) data as text, use the table tool in the editing bar
  2. Expected output from sample data
  3. Explanation in words of how to get from 1. to 2.

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,
Community Support Team_Gao

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

MFelix
Super User
Super User

Hi @Yagevendra,

 

Do you want only the axis to stay the same but the values to be kept or the values should also no be changed accrodingly to other selections?

 

For this you need to use a measure and add an ALLEXCEPT clause to you formula in order to force everything to keep the same except the one you need.

 

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
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.