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

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