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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors