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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Analitika
Post Prodigy
Post Prodigy

How get value after selecting one visual?

Hello,

 

I need to extract and store value in measure and use it for further calculations. That value appears when I press on visual B, and it filters visual A, so I need value from visual A which appears after selecting visual B. How to implement this? I tried use selectedmeasure function in dax but not helped.

5 REPLIES 5
MFelix
Super User
Super User

Hi @Analitika ,

 

This depens on how you model is created and on how the values from the two visuals you have selected and how they interact.

 

Can you givce a little more context on the result you want to achieve and the way the model and visuals are setup?


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Here is scenario, click on the one visual, filtering another 

Analitika_0-1701153668677.png

Before selecting:

Analitika_1-1701153700765.png

So I need find percentage, like for example, 4245/10625*100.  Is possible?

Hi @Analitika ,

 

You need to create something similar to:

% measure = DIVIDE( [Measure], CALCULATE([Measure], ALLSELECTED(Table[Column]))

 

The column you should refer is the  one that you use for the intervals.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



I have tried this but it calculates of grand total not total per range. So it is wrong. I need percentage

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.