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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
160475
Helper I
Helper I

divide to other Colum total

dears,

good day!! 

 

in the table below 2 columns total tickets and measure and i want to devide each row in total tickets to the Total for measure as showing below :

 

160475_0-1667473775027.png

 

1 ACCEPTED SOLUTION
v-yadongf-msft
Community Support
Community Support

Hi @160475 ,

 

Please try ALL( ) function. For example,

 

This is my test table:

vyadongfmsft_0-1667527015924.png

 

The measures I created:

 

Measure 1 = SUM('Table'[Value])

Measure 2 = SUMX(ALL('Table'),'Table'[Value])

Total ticket / Measure 2 = DIVIDE(SUM('Table'[Total tickets]),[Measure 2])

 

 

Then you can devide each row in total tickets to the Total for measure:

vyadongfmsft_1-1667527140625.png

 

Best regards,

Yadong Fang

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

1 REPLY 1
v-yadongf-msft
Community Support
Community Support

Hi @160475 ,

 

Please try ALL( ) function. For example,

 

This is my test table:

vyadongfmsft_0-1667527015924.png

 

The measures I created:

 

Measure 1 = SUM('Table'[Value])

Measure 2 = SUMX(ALL('Table'),'Table'[Value])

Total ticket / Measure 2 = DIVIDE(SUM('Table'[Total tickets]),[Measure 2])

 

 

Then you can devide each row in total tickets to the Total for measure:

vyadongfmsft_1-1667527140625.png

 

Best regards,

Yadong Fang

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Kudoed Authors