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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
modi123p
Helper III
Helper III

How to get filter values applied to a label displayed in Report

Hi,

 

Customer might issue a a query such as "Customers by Revenue for Textile industry in Europe" from Cortana.

Here, the report applies appropriate filters for region, country and industry and it works fine.

 

But I would like the title within the report to change dynamically based on the filters applied.

It is necessary to display Industry: "Textile", Region: "Europe" 

 

Is there a way I can get this information displayed in a label inside Power BI?

 

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

Hi @modi123p,

 

Based on my understanding, you want to get the Q&A filter result, right?

If it is a case, I think it is impossible, you can simple get the select item which choose in slicer, but you can’t get the Q&A result.(only can pin the result to dashboard)

 

Below is a sample about use slicer to get dynamically result tile. (get the value in slicer and drag them to card visuals as label):

 

Slicer:

 Capture2.PNG

 

Measures:

Selected Industry = "Industry: "& LEFT(CONCATENATEX(ALLSELECTED(Sheet1),[Industry]&","),LEN(CONCATENATEX(ALLSELECTED(Sheet1),[Industry]&","))-1)

 

Selected Region = "Region: "& LEFT(CONCATENATEX(ALLSELECTED(Sheet1),[Region]&","),LEN(CONCATENATEX(ALLSELECTED(Sheet1),[Region]&","))-1)

 

Capture.PNG

 

Result:

Capture3.PNG

 

 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @modi123p,

 

Based on my understanding, you want to get the Q&A filter result, right?

If it is a case, I think it is impossible, you can simple get the select item which choose in slicer, but you can’t get the Q&A result.(only can pin the result to dashboard)

 

Below is a sample about use slicer to get dynamically result tile. (get the value in slicer and drag them to card visuals as label):

 

Slicer:

 Capture2.PNG

 

Measures:

Selected Industry = "Industry: "& LEFT(CONCATENATEX(ALLSELECTED(Sheet1),[Industry]&","),LEN(CONCATENATEX(ALLSELECTED(Sheet1),[Industry]&","))-1)

 

Selected Region = "Region: "& LEFT(CONCATENATEX(ALLSELECTED(Sheet1),[Region]&","),LEN(CONCATENATEX(ALLSELECTED(Sheet1),[Region]&","))-1)

 

Capture.PNG

 

Result:

Capture3.PNG

 

 

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Thanks Xiaoxin Sheng

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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