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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Can someone explain how to use the disconnected table technique to use measures in the X-Axis?

Hi Everyone

 

I have viewed this post and feel like it contains the info I need, but I am having a hard time parsing the DAX and applying it to my situation.

 

I am trying to build a column chart that would allow me to use measures in the X-Axis. My report contains budget vs actual information. I have 3 measure that I would like to display as separate columns. I would also like this to change dynamically based on Team selected fro a slicer. 

 

My measures are essentially:

 

Forecast 1 = [total revenue] - [Expected Cost 1]

Forecast 2 = [total revenue] - [Expected Cost 2]

Forecast Target = averagex(budget table, budget table [forecast targets])

 

Can anyone help?

 

thanks

 

GC4002

6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous ,

 

Can you show some sample data and expected result to us like the post you shared with us?

 

Best Regards,

Jay

 

Community Support Team _ Jay Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Not where clear why you need the disconnected table . Can you please explain with an example.

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

few more example

https://www.blue-granite.com/blog/disconnected-table-power-bi

https://www.kasperonbi.com/dynamic-data-comparisons-using-disconnected-slicers-treatas-and-inactive-relationships/
Appreciate your Kudos.


Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
AllisonKennedy
Super User
Super User

I haven't looked at the link you provided yet, but can you use the three measures in values?

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

Anonymous
Not applicable

Hi @AllisonKennedy 

 

I could use them as values, my original version had this set up. So while this makes sense when I have my various teams as categories, if I drill down to a single team using a slicer the visual looks strange as all the columns are bunched together, being a single category.

 

If i had the measures as separate categories the graph would be more visually appealing and ultimately of better use to the end user. I think the link in my original post gives a way of doing this, but I'm having a hard time translating the example DAX to my specifics.

 

 

Ok, if you want specific help then we'll need to know the names of your tables and columns and rough preview of the data. We will also need to know what level of granularity you wish to display.
I think you will need to create a disconnected table that has:
Axis
Forecast 1
Forecast 2
Forecast Target

Then use the SWITCH Measures to Show sample to return the Forecast 1 measure if Forecast 1, etc, etc.

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

Anonymous
Not applicable

Hi @AllisonKennedy 

 

I have the following tables / fields:

Team List [Team name]

Forecast Measures [forecast 1], [forecast 2]

Budget Summary [forecast target]

 

In terms of granularity, I'd like to show individual teams selected by slicer. The forecast measures have been created by taking our actual spend to date, adding on our remaining budget spend to completion.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors