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
Hi,
I have the following as a measure:
Solved! Go to Solution.
Hi @Anonymous ,
Please update the formula of your measure as below:
Q1_T2B =
VAR _selwave =
SELECTEDVALUE ( 'TABLE'[WAVE] )
RETURN
DIVIDE (
CALCULATE ( SUM ( 'TABLE'[WEIGHTS] ), 'TABLE'[Q1_Index] < 3 ),
CALCULATE (
SUM ( 'TABLE'[WEIGHTS] ),
FILTER (
ALL ( 'TABLE' ),
'TABLE'[Q1_Index] < 5
&& 'TABLE'[WAVE] >= _selwave - 1
&& 'TABLE'[WAVE] <= _selwave
)
),
0
)
If the above one is not your expected result, please provide your expected result with samples and calculation logic base on current sample data. Thank you.
Best Regards
Hi @Anonymous ,
Please update the formula of your measure as below:
Q1_T2B =
VAR _selwave =
SELECTEDVALUE ( 'TABLE'[WAVE] )
RETURN
DIVIDE (
CALCULATE ( SUM ( 'TABLE'[WEIGHTS] ), 'TABLE'[Q1_Index] < 3 ),
CALCULATE (
SUM ( 'TABLE'[WEIGHTS] ),
FILTER (
ALL ( 'TABLE' ),
'TABLE'[Q1_Index] < 5
&& 'TABLE'[WAVE] >= _selwave - 1
&& 'TABLE'[WAVE] <= _selwave
)
),
0
)
If the above one is not your expected result, please provide your expected result with samples and calculation logic base on current sample data. Thank you.
Best Regards
Hi @Anonymous
How do I add ALLEXCEPT to the measure so that I can use filters with it? I want to filter by GENDER for example
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 135 | |
| 102 | |
| 67 | |
| 65 | |
| 56 |