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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

slicer

buenas tardes, en este modelo tengo varios elementos como son tuberias y conexiones. Ahora bien, para yo poder pagarle al contratista por los trabajos ejecutados, tengo 4 columnas, 2 de ellas pertencen al campo de avance ya sea que el trabajo este concluido o que este en un 50%, las otras dos columnas son de las semanas en las que se realizo el trabajo. 

INSTALLED 100%INSTALLED 50%WEEK INSTALLED 100%WEEK INSTALLED % 50%CANTIDADP.U.TOTAL
1000370610116066
050 38610113033
100504039610113033

 El problema que tengo:  es que no me hace la segmentacion por semana del año, solo me toma la semana conexion que tengo en el modelo 

Isaac1160_0-1634755682551.png

Isaac1160_1-1634755923309.png

lo que me gustaria saber es como puedo hacer que el slicer de las semana este filtrado por las week Installed 100 y week Installed 50. esto con el fin de obtener el importe a pagar ya sea por los trabajo al 50% o o por los trabajos al 100%

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 

I have a short sample to demonstrate display the column value based on the selected column name. 

 

1. Manually enter the column names in a new table.

Vpazhenmsft_0-1635145626795.png

 

2. Create a measure to display selected column value.

Install 50/100 = SWITCH(MAX('Table (2)'[Install %]),
"INSTALLED 50%", SUM([INSTALLED 50%]),
"INSTALLED 100%",SUM([INSTALLED 100%]))
 
Vpazhenmsft_1-1635145691925.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@Anonymous 

I have a short sample to demonstrate display the column value based on the selected column name. 

 

1. Manually enter the column names in a new table.

Vpazhenmsft_0-1635145626795.png

 

2. Create a measure to display selected column value.

Install 50/100 = SWITCH(MAX('Table (2)'[Install %]),
"INSTALLED 50%", SUM([INSTALLED 50%]),
"INSTALLED 100%",SUM([INSTALLED 100%]))
 
Vpazhenmsft_1-1635145691925.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.