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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.