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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anon42
New Member

Generate Series

Hello,

 

I have used GENERATESERIES to allow me to toggle 1 to 5 on two slicers, which make up my 'total' measure.

 

I'm trying to filter so the slicer will only apply to #3 in the table, i.e. if I change it to Impact 5 x Likelihood 5 the total column will be 25, but it changes for all items in the table and not just #3.

 

Grateful for any help.

 

 

Anon42_0-1710860242033.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anon42 ,
I create a table as you mentioned.

vyilongmsft_0-1710898522739.png

Then I create a new measure named total.

total =
SUM ( 'Table'[Impact] ) * SUM ( 'Table'[Likelihood] )

vyilongmsft_1-1710899019314.png

I think you can try this measure.

Measure =
VAR _A =
    SELECTEDVALUE ( 'Table'[Impact] )
VAR _B =
    SELECTEDVALUE ( 'Table'[Likelihood] )
RETURN
    IF ( SELECTEDVALUE ( 'Table'[#], 3 ), _A * _B, 'Table'[total] )

vyilongmsft_2-1710899309507.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider 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

Hi @Anon42 ,
I create a table as you mentioned.

vyilongmsft_0-1710898522739.png

Then I create a new measure named total.

total =
SUM ( 'Table'[Impact] ) * SUM ( 'Table'[Likelihood] )

vyilongmsft_1-1710899019314.png

I think you can try this measure.

Measure =
VAR _A =
    SELECTEDVALUE ( 'Table'[Impact] )
VAR _B =
    SELECTEDVALUE ( 'Table'[Likelihood] )
RETURN
    IF ( SELECTEDVALUE ( 'Table'[#], 3 ), _A * _B, 'Table'[total] )

vyilongmsft_2-1710899309507.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.