Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
This is my first post on this forum, so kindly excuse me if I skipped any protocols.
I have a fitness related model wherein I need to pick a customer from one slicer and then using the other slicer(having the same list of names as the first slicer but only the col umn duplicated and renamed) to pick any of the other names in the list, my measure must be able to display the two values side by side. I am able to generate the individual cards correctly(Avg_HR_orig and Avg_HR_compn), but when I create variables for the two and the try to use them in a third measure (check1_HR) to get the 2 outputs side by side, I am able to get only one correct value and not the other.
I have attached the pbix file. Kindly help me out.
Reqt: ex: 108|104->for the Name:Comparison_name combo of Armani Singleton:Bailey Craig
File link-> https://drive.google.com/file/d/12EYHJvg2FCJu7bGrH2PKLOAiCY3nQOiz/view?usp=drive_link
Solved! Go to Solution.
@pkiran ,
I've made the relashionship inactive and used 2 measures. Both slicers interact with check1_HR card:
Avg_HR_compn =
VAR c_user = SELECTEDVALUE ( slicer2[Comparison_Name] )
RETURN
CALCULATE ( [Avg_Heart_Rate], dimUser[Name] = c_user )
Avg_HR_orig =
VAR c_user = SELECTEDVALUE ( dimUser[Name] )
RETURN
CALCULATE ( [Avg_Heart_Rate], dimUser[Name] = c_user )
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
@pkiran ,
I've made the relashionship inactive and used 2 measures. Both slicers interact with check1_HR card:
Avg_HR_compn =
VAR c_user = SELECTEDVALUE ( slicer2[Comparison_Name] )
RETURN
CALCULATE ( [Avg_Heart_Rate], dimUser[Name] = c_user )
Avg_HR_orig =
VAR c_user = SELECTEDVALUE ( dimUser[Name] )
RETURN
CALCULATE ( [Avg_Heart_Rate], dimUser[Name] = c_user )
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
Hi ERD,
Thank you very much for the solution. It worked like a charm...just one question though, how did making the relationship inactive enable this? Has this got to do with multiple relationships in the model?? Can you kindly elaborate on this??
Thanks...
You needed to grab the value without filtering this card at the same time. Having active relashionship won't allow this as it will filter the card with different values at the same time.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
Hi @pkiran ,
The file has restricted access.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
Hi,
Sorry about that...PFB the corrected link...
https://drive.google.com/file/d/12EYHJvg2FCJu7bGrH2PKLOAiCY3nQOiz/view?usp=sharing
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |