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
joselopez
Frequent Visitor

Problems with the X-axis.

Hello Community!

I want to plot different points that have equal values on the x-axis.

But the curve values not associated with that x-axis (image 2) are plotted differently (image 1).

Already relationships in relationship manager img1 img1 img2 img2

3 REPLIES 3
AllisonKennedy
Super User
Super User

@joselopez  Please can you share the screenshot of relationships in the model view (the one with the tables and lines, not just relationship manager). 

Also, please can you elaborate on your desired result? What should the image1 look like? 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Hi Allison...

 

Finally, I created an auxiliary variable which contains the x-axis (km), so there are no more problems with graphing (Fig1) (which is the expected result)..... Now the problem is as follows.

For the filter I need to Filter for ring 1-2 and 3. (Fig 2 and 3).

In the figure 3 you can see that the auxiliary variable of ring lets me make the connection with A1 historical... but if I want to make the relation with any other ring Ex: A3 historical it does not leave me.

I don't know how to solve this.

Thanks a lot!

Fig 1Fig 1Fig 2Fig 2Fig 3Fig 3

@joselopez 

 

Power BI only allows one relationship between any two tables. You may be able to append all historical tables into one table? 

 

Your data format also looks like it could benefit from an unpivot of columns 1-8, but I'm not certain without know a lot more about your data. You might want to follow a similar process to what I have discussed in my Survey Says webinar. Even though it's not survey data, you have readings for different numbers (1-8) that need to be unpivoted. Click the Watch Now Survey Says button to find it: https://www.excelwithallison.com/MCT/news#h.p_NkgcNxVFFYaS 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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.