Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Good, I need a FILTER that is not affected when filtering by a segmentation.
In the following example, you would need that if you filter on a segmentation [Day] by Monday or Tuesday, the denominator does NOT become null.
Solved! Go to Solution.
Try one of these:
Ratio Distance 2 =
DIVIDE (
SUM ( 'T_Datos_GPS'[Last Distance(km)] ),
CALCULATE (
AVERAGE ( 'T_Datos_GPS'[Distance (km)] ),
FILTER ( 'T_Día_semana', ' T_Día_semana'[Día] IN {"Sunday","Monday" )
)
)
or
Ratio Distance 2 =
DIVIDE (
SUM ( 'T_Datos_GPS'[Last Distance(km)] ),
CALCULATE (
AVERAGE ( 'T_Datos_GPS'[Distance (km)] ),
FILTER ( ALL('T_Día_semana'), ' T_Día_semana'[Día] IN {"Sunday","Monday" )
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Try one of these:
Ratio Distance 2 =
DIVIDE (
SUM ( 'T_Datos_GPS'[Last Distance(km)] ),
CALCULATE (
AVERAGE ( 'T_Datos_GPS'[Distance (km)] ),
FILTER ( 'T_Día_semana', ' T_Día_semana'[Día] IN {"Sunday","Monday" )
)
)
or
Ratio Distance 2 =
DIVIDE (
SUM ( 'T_Datos_GPS'[Last Distance(km)] ),
CALCULATE (
AVERAGE ( 'T_Datos_GPS'[Distance (km)] ),
FILTER ( ALL('T_Día_semana'), ' T_Día_semana'[Día] IN {"Sunday","Monday" )
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 122 | |
| 111 | |
| 83 | |
| 69 | |
| 68 |