Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 28 | |
| 27 | |
| 25 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 54 | |
| 46 | |
| 38 | |
| 28 | |
| 21 |