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
Anonymous
Not applicable

Valor máximo por semana basado en la relación WEEK entre tablas

Hola a todos

Quiero una medida para el valor MAX por semana y seguir usando esta medida en una tabla que no tiene una relación activa directa.
Aunque, la relación de la semana existe en función del número de semana.

MAX_Value_Per_Week.png

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

Hola @mridul ,

Comprobar

Column = CALCULATE(MAX('Table'[value]),FILTER('Table','Table'[weeknum]='Table (2)'[weeknum]&&'Table'[product]='Table (2)'[product]))

1.PNG

3.PNG

2.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

4 REPLIES 4
v-jayw-msft
Community Support
Community Support

Hola @mridul ,

Comprobar

Column = CALCULATE(MAX('Table'[value]),FILTER('Table','Table'[weeknum]='Table (2)'[weeknum]&&'Table'[product]='Table (2)'[product]))

1.PNG

3.PNG

2.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@mridul, tomar la semana (sin resumir), y estos dos

para la toma del producto -lastnonblankvalue(table[value],max(table[product]))

para el valor take max(Table[Value])

Anonymous
Not applicable

@amitchandak @v-jayw-msft 

 

I have attcahed a sample pbix file. Please download. 

https://drive.google.com/drive/folders/1E_k7VbgImoTft43JOncSMrwrWtCwVUVx?usp=sharing


I would like to get the MAX value at Item -> week -> MAX(stock_value per item / week ) and the measure Total 

 

For Example : Product_1 -> Week 1 -> 2997  

                       Product_2 -> Week 1-> 316 

Measure Total = 3313

 

Thanks a lot 

 

 

 

 

pranit828
Community Champion
Community Champion

Hola @mridul

Yo usaría

calculate(max([value], allexcept(table,table[week_num]))

¿Resolví tu problema? ¡Marca mi puesto como una solución!

Apreciamos sus Felicitaciones, Pulse el botón pulgares hacia arriba !!

saludos
Pranit





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.