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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
gomezc73
Helper IV
Helper IV

Yes or No depending of the Sum

Hello,

 

   I need help with the following issue.

   

   i Have a table like with total of variations by Family/Color at the end of the year

   

Balance FamilyColorFISCAL_YEARVariance
BikesBlue19-8000.00
BikesYellow190.00
BikesRed19-14656.43
BikesBlank198000.00
BikesWhite190.00
BikesGreen1914656.43
  Total Variation0.00
ScooterBlue1910000.00
ScooterYellow195000.00
ScooterRed193000.00
ScooterBlank19-10000.00
ScooterWhite19-5000.00
ScooterGreen19-2950.00
  Total Variation50.00

 

I want to display a summary by 'Balance Family' where if the Sum of all variance(by color) is not zero, then Display "Yes" in the cell Varition.

 

Something like this:

  

Balance FamilyTotal BalanceHave Variance
Bikes0No
Scooter50Yes

 

Could you please help me?

 

Regards 

1 ACCEPTED SOLUTION

Hola @gomezc73 ,

Debe sumar en el campo Desviación.

Capture.PNG

Puede crear medida:

Have Variance = IF(SUM('Table'[Variance]) = 0,"No","Yes")

Capture1.PNG

Para obtener más información, consulte el archivo pbix:https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EZA2DyRJRcJOgET745...

Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Saludos

Dedmon Dai

View solution in original post

3 REPLIES 3
jthomson
Solution Sage
Solution Sage

newmeasure á if(sum[variance]-0,"No","Yes")

Si su columna de varianza es realmente una medida, ponga eso en su lugar

No worked, when add the measure YesNo_Sum = if(Sum(File[Variance])<>0,"Yes","No"), the rows are duplicated, one row for each color..

Hola @gomezc73 ,

Debe sumar en el campo Desviación.

Capture.PNG

Puede crear medida:

Have Variance = IF(SUM('Table'[Variance]) = 0,"No","Yes")

Capture1.PNG

Para obtener más información, consulte el archivo pbix:https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EZA2DyRJRcJOgET745...

Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

Saludos

Dedmon Dai

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Fabric Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors