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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
MikkoL
Frequent Visitor

Getting selected value down in the table with no relation is not supported - how to workaround?

Hello,

I have a simple problem with no solution😅 I have build Profit and Loss with Power BI and now I want to have a selection to show Group level versus Company level figures. In the Group level figures we filter inter company transactions away, whereas in Company level there is no filtering.

The idea was to be able to select Company or Group level in a slicer and do the filtering on the table. As I have read you cannot propagate the slicer selection (Group/Company) down to the transaction table (the SELECTEDVALUE will return BLANK  on table level).

Is there any workaround how to get this to work (now I filter explicitely inter company transactions away on group level and select all transaction on company level...). Thank you for your help!

BR, Mikko

3 REPLIES 3
DataInsights
Super User
Super User

@MikkoL,

 

I would add two tables to your model (if they don't already exist):

 

DimAccount

SlicerLevel

 

DimAccount would contain all accounts, and have a column Group Level that is set to 1 for all accounts that should be included when "Group" is selected in the slicer. DimAccount would have a one-to-many relationship to the fact table.

 

SlicerLevel would be a disconnected table with two rows (one for Company, and one for Group).

 

Here's an example of how the measure would look:

 

Amount =
IF (
    SELECTEDVALUE ( SlicerLevel[Slicer Value] ) = "Group",
    CALCULATE ( SUM ( FactTable[Amount] ), DimAccount[Group Level] = 1 ),
    SUM ( FactTable[Amount] )
)

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hello Datainsights,

Thank you for your proposal! I would elaborate my case a little bit more. In P&L I have built many functions to calculate e.g. gross margin, fixed costs etc. This has then been done three times in order to calculate actual figures, previous years figures and budget figures. To get the proposed solution to work with all the functions which use complicated row based logic would be challenging, but thank you for your proposal! BR, Mikko

@MikkoL,

 

Would you be able to provide a sample pbix (via OneDrive, etc.) illustrating the issue?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.