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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

fusionar Filas en columna basada en weeknumber

Hola

Quiero fusionar 7 filas en 1 fila en una columna específica y debajo de la tabla tiene el número 1 a 7, es decir, el día de la semana y el valor para

Mis datos se ven como

7Martes4313177840.3783850.0682880.227273109793.20.378385
6Lunes3534781170.3100970.071210.181818104974.80.378385
5Domingo27230390.2388870.0003420.13636497042.380.378385
4Sábado271917220.2385450.0063340.136364121129.20.378385
3Viernes2646959460.2322110.0521640.136364157217.20.378385
2Jueves20523100120.1800470.0878350.090909182849.90.378385
1Miércoles10511105110.0922120.0922120.045455187295.70.378385

Quiero que la vista de la mesa sea

7Martes4313177840.3783850.0682880.227273109793.20.378385
6Lunes3534781170.3100970.071210.181818104974.8
5Domingo27230390.2388870.0003420.13636497042.38
4Sábado271917220.2385450.0063340.136364121129.2
3Viernes2646959460.2322110.0521640.136364157217.2
2Jueves20523100120.1800470.0878350.090909182849.9
1Miércoles10511105110.0922120.0922120.045455187295.7

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hola @svali85

No entiendo muy bien su lógica, por favor compruebe si desea llegar por debajo de uno:

Measure = var a = MAX('Table'[Column1])+1
var b = CALCULATE(MAX('Table'[Column9]),FILTER(ALL('Table'),[Column1]=a))
Return
IF(ISBLANK(b),MAX('Table'[Column9]),BLANK())

01.PNG

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

Oye

Gracias por proporcionar solución.

El requisito orgiinal es colocar el valor de medida 0.378385 a mitad de semana, es decir, en el día 4 y para la próxima semana también de la misma manera, ¿podemos lograr esto? es como fusionar y centro en Excel

amitchandak
Super User
Super User

if(max(Table[Weekday]-7 , [Value],blank())

Algo así basado en lo que puedo ver en los datos

Helpful resources

Announcements
March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors