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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

What is the DAX expression equivalent to drag and drop in Power BI?

Hi all, I have a question. Suppose we have 2 table like this with Relationship (1 to Many) by WID from Region to Sell Out 

2019-06-17_10h01_37.png

Normally, if we want to visualize the Sell Out by Region Code, we just need to drag the Sell Out into Value, Region Code as Axis. But what is the equivalent DAX function for this action? Sum then summarize? Please help me

2019-06-17_10h06_38.png

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Your demand is a good idea, while it is not supported to implement in Power BI currently. You can post your new idea here https://ideas.powerbi.com/forums/265200-power-bi-ideas , to improve the Power BI.

 

It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,

Amy

 

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

View solution in original post

6 REPLIES 6
v-xicai
Community Support
Community Support

Hi  @Anonymous ,

 

Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

Anonymous
Not applicable

I was asking these question because I want to implemented them on a different problem.

Dynamic X axis chart. Imagine with the same metric, you can drag or write some dynamic function to change the axis in presentation.

But seems as the current time there is no solution to that.

Hi @Anonymous ,

 

Your demand is a good idea, while it is not supported to implement in Power BI currently. You can post your new idea here https://ideas.powerbi.com/forums/265200-power-bi-ideas , to improve the Power BI.

 

It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,

Amy

 

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

MattAllington
Community Champion
Community Champion

It is simply 

 

=SUM(‘sell out’[sell out])





* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.
Anonymous
Not applicable

Sum just give you a scalar number as result, How can I show the result to be grouped by region, without choosing the axis.

2019-06-17_12h35_18.png


@MattAllington wrote:

It is simply 

 

=SUM(‘sell out’[sell out])




 

Hi @Anonymous ,

 

You can create measure or column like DAX below in table Region .

 

Measure1 = CALCULATE(SUM('Sell Out'[Sell Out]),FILTER(ALLSELECTED(Region), Region[Region Code] =MAX(Region[Region Code])))

 

Column1 = CALCULATE(SUM('Sell Out'[Sell Out]),FILTER(ALLSELECTED(Region), Region[Region Code] =EARLIER(Region[Region Code])))

 

Best Regards,

Amy

 

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

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.