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
asdf1608
Helper V
Helper V

Compute Using Table down in table edit calculation in power BI

I am trying to do a DAX Calculation in Power BI - but it doesn't work like it does in Tableau and I can't figure out what I am doing wrong.

 

Calculations I am using in Tableau Listed Below

Table Down  = Sum(Sales)/Total(Sum(Sales))

The result for the above calculation is obviously 1

asdf1608_0-1699361951119.png

 

 

I got the same in Power BI.

 

 

But there is an option in Tableau called Table(down)

asdf1608_2-1699361951541.png

 

After selecting as Table(Down), the values of Tableau gets changed.

1 ACCEPTED SOLUTION

hi, @asdf1608 

 

same as you want 

it is column not a mesure

Column = DIVIDE(Sheet1[Sales],SUMX(ALL(Sheet1),Sheet1[Sales]))

Dangar332_0-1699369012877.png

 

output in measure

Measure = DIVIDE(
      SUM(Sheet1[Sales]),
      CALCULATE(
         SUM(Sheet1[Sales]),
         REMOVEFILTERS(Sheet1[Document Number])
      )
   )

 

Dangar332_1-1699369847296.png

 

 

View solution in original post

3 REPLIES 3
Dangar332
Super User
Super User

hi, @asdf1608 

 

try below

Column = DIVIDE(Sheet1[Sales],SUMX(ALL(Sheet1),Sheet1[Sales]))


 

@Dangar332 Yes I have tried that. it just gives me answer as "1"

asdf1608_1-1699367660636.png

 

What I want was to calculate table down for that column which provides this answer

asdf1608_2-1699367697715.png

This is the expected result I need in power BI

hi, @asdf1608 

 

same as you want 

it is column not a mesure

Column = DIVIDE(Sheet1[Sales],SUMX(ALL(Sheet1),Sheet1[Sales]))

Dangar332_0-1699369012877.png

 

output in measure

Measure = DIVIDE(
      SUM(Sheet1[Sales]),
      CALCULATE(
         SUM(Sheet1[Sales]),
         REMOVEFILTERS(Sheet1[Document Number])
      )
   )

 

Dangar332_1-1699369847296.png

 

 

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.