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
Anonymous
Not applicable

Capturing a SELECTEDVALUE measure in a matrix without iterating through all data

Hi all, I have an interesting question here regarding measure behavior. I have a matrix of data (parent sites with child sites), which works fine (redacted below).

RMDSPC_0-1686077405595.png

This data gets exported to Power Automate via a button, where it's turned into an array, etc.

 

As part of this export, I need to capture the selected Year and Quarter from our date table. Those need to be measures, of course. However, adding a SELECTEDVALUE(Year) and SELECTEDVALUE(Quarter) to the table results in the following, where every parent is now associated with every child.

RMDSPC_1-1686077607444.png

I believe this is expected measure behavior. I could filter out the blanks via a visual-level filter, which would solve the display issue. However, the raw underlying data (including all the blanks, etc.) is captured in the Power Automate export, which causes data volume issues and dropped records.

 

Is there a way to prevent this?

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Adding these measures to the table visual is not relevant. The Power Automate visual has its own filter context. In that filter context SELECTEDVALUE(Year) may be meaningless or blank.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Adding these measures to the table visual is not relevant. The Power Automate visual has its own filter context. In that filter context SELECTEDVALUE(Year) may be meaningless or blank.

Anonymous
Not applicable

Hi @lbendlin - correct, the question was because adding filters to the Power Automate visual didn't seem to be working, but I tried again and it went through this time. Didn't change anything, but it's working now. Marking this as accepted in case others have the same question

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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