cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
mahsan_ojaghian
Frequent Visitor

Dynamic value Changing in Calculate Column With Slicer Filter On Report Page

Hi Guys!

I have a calculate column that consists of sum of  two parameters.

one of them is constant and the other one shoud be variable and changes with

slicer filter On Report Page.

What should I do for reaching True result??

Thank You All.🤗

1 ACCEPTED SOLUTION
v-mengzhu-msft
Community Support
Community Support

Hi @mahsan_ojaghian ,

 

The slicer or filter can’t active with calculate column. You can use measure to complete your idea, as the following shows, is that result you want to achieve? When I filter the values in the variable table, the sum measure created will change with it.

 

For example, now I choose “5”:

vmengzhumsft_0-1658916396061.png

 

Then I choose “3”, it followed the changes that occurred:

vmengzhumsft_1-1658916396063.png

You can try this measure:

sum = SUM('Table 1'[constant])+ SELECTEDVALUE('variable table'[variable])

 

and this is my testing file , hope it finds you well.

 

Best regards,

Community Support Team Selina zhu

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

4 REPLIES 4
mahsan_ojaghian
Frequent Visitor

Hi.

Thank you for your response.<3

v-mengzhu-msft
Community Support
Community Support

Hi @mahsan_ojaghian ,

 

The slicer or filter can’t active with calculate column. You can use measure to complete your idea, as the following shows, is that result you want to achieve? When I filter the values in the variable table, the sum measure created will change with it.

 

For example, now I choose “5”:

vmengzhumsft_0-1658916396061.png

 

Then I choose “3”, it followed the changes that occurred:

vmengzhumsft_1-1658916396063.png

You can try this measure:

sum = SUM('Table 1'[constant])+ SELECTEDVALUE('variable table'[variable])

 

and this is my testing file , hope it finds you well.

 

Best regards,

Community Support Team Selina zhu

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

Jihwan_Kim
Super User
Super User

Hi,

If you have an option to create a measure, instead of creating a calculated column, please try creating a measure and put it into a visualization. And then it will suit to your requirement.

Please share your sample pbix file's link (Onedrive, googledrive, or dropbox, or others.....) here, and then I can try to look into it to come up with writing a measure.

 

Thanks.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Hi Mr,Kim.

Thanks for your response.

But I can't use a measure for my calculation because I need more calculations after this step.

And unfortunately can't share my pbix file with you cause my workplace doe'nt allow me to share.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors