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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Ait-james
Frequent Visitor

Retrieve more data based to result of a measure (number data type)

Hello community,

 

I would like to know please if it's possible to do these two things in Power BI.

 

Case 1 : How can retrieve the information of the 2 orders based to the result of the measure I created ?

Example of scenario -> When I click on the number "2" I will be redirected to another page who contain a table that will be populated with order information.

 

Case 2 : Display the order with high priority among the 2 orders.

 

Aitjames_0-1637052450851.png

Thank you !

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

Hi  @Ait-james ,

Do you consider syncing slicers.

I created some data:

Index table:

vyangliumsft_0-1637301611819.png

Order table:

vyangliumsft_1-1637301611821.png

Here are the steps you can follow:

1. In Page1, use [Index] as the slicer, and click View – Sync slicers.

vyangliumsft_2-1637301611825.png

The same slicer will also appear in Page2 later, and the two slicers will communicate with each other

2. Create measure.

Flag =
var _select=SELECTEDVALUE('Index table'[Index])
return
IF(
    MAX('Order table'[priority])<=_select,1,0)

3. Place Measure[Flag] in the Filter in Page2, set is =1, and apply filter.

vyangliumsft_3-1637301611827.png

4. Result:

When the click slicer in Page1 is 2, it will be synchronized to Page2, and the information of priority<=2 will be displayed.

vyangliumsft_4-1637301611828.png

 

Best Regards,

Liu Yang

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

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @Ait-james ,

Do you consider syncing slicers.

I created some data:

Index table:

vyangliumsft_0-1637301611819.png

Order table:

vyangliumsft_1-1637301611821.png

Here are the steps you can follow:

1. In Page1, use [Index] as the slicer, and click View – Sync slicers.

vyangliumsft_2-1637301611825.png

The same slicer will also appear in Page2 later, and the two slicers will communicate with each other

2. Create measure.

Flag =
var _select=SELECTEDVALUE('Index table'[Index])
return
IF(
    MAX('Order table'[priority])<=_select,1,0)

3. Place Measure[Flag] in the Filter in Page2, set is =1, and apply filter.

vyangliumsft_3-1637301611827.png

4. Result:

When the click slicer in Page1 is 2, it will be synchronized to Page2, and the information of priority<=2 will be displayed.

vyangliumsft_4-1637301611828.png

 

Best Regards,

Liu Yang

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

selimovd
Super User
Super User

Hey @Ait-james ,

 

that should be possible with a drill through button:

Create a drillthrough button in Power BI - Power BI | Microsoft Docs

https://www.youtube.com/watch?v=4Qy-bksqExI

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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