Power BI: How to scenario analysis, where the selector “looks up” the select value from slicer and gets values from that rowPower bi - Use Slicer selection in filtering dataSetting the Default Value of a Slicer on power biHow To Filter Data in Slicer in Power BIPower BI - Dynamic measure based on slicer selectionHow to add slicer by Column in Power BIBased on slicer selection create dynamic calculated table in Power BIHow to capture the selected values on a slicer using DAX on Power BI?How to have actual calendar in a slicer in power bi?DAX: How do I write an IF statement to return a calculation for multiple (specific) values selected?How to add multiple column to slicer in Power BI

How will losing mobility of one hand affect my career as a programmer?

Does the Mind Blank spell prevent the target from being frightened?

Find last 3 digits of this monster number

Freedom of speech and where it applies

Visiting the UK as unmarried couple

How do ground effect vehicles perform turns?

On a tidally locked planet, would time be quantized?

Did US corporations pay demonstrators in the German demonstrations against article 13?

Have I saved too much for retirement so far?

Can I use my Chinese passport to enter China after I acquired another citizenship?

Query about absorption line spectra

Should I install hardwood flooring or cabinets first?

Global amount of publications over time

Can the Supreme Court overturn an impeachment?

Folder comparison

MAXDOP Settings for SQL Server 2014

Can someone explain how this makes sense electrically?

How to color a curve

Gibbs free energy in standard state vs. equilibrium

A social experiment. What is the worst that can happen?

Two-sided logarithm inequality

How do I implement a file system driver driver in Linux?

How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?

Open a doc from terminal, but not by its name



Power BI: How to scenario analysis, where the selector “looks up” the select value from slicer and gets values from that row


Power bi - Use Slicer selection in filtering dataSetting the Default Value of a Slicer on power biHow To Filter Data in Slicer in Power BIPower BI - Dynamic measure based on slicer selectionHow to add slicer by Column in Power BIBased on slicer selection create dynamic calculated table in Power BIHow to capture the selected values on a slicer using DAX on Power BI?How to have actual calendar in a slicer in power bi?DAX: How do I write an IF statement to return a calculation for multiple (specific) values selected?How to add multiple column to slicer in Power BI













0















I've followed multiple tutorials on scenario analysis and what if analysis in power BI. these examples are quite clear to me and I somewhat understand how they work. For example this (https://community.powerbi.com/t5/Community-Blog/Scenario-Analysis-What-Ifs-Tips-amp-Techniques-For-Power-BI/ba-p/559653).



In this example they create a table that contains values for different scenarios



5%
10%
15%
20%



etc. and the user of the report can select these. But what if instead of direct values I have categorical values, such as "Low, medium, high, very high" like:



category - trend rise
low 5%
medium 10%
high 15%
very high 20%


On my other table I have:



Value - Item - trend_default
10 A 0.3
15 A 0.2
20 B 0.4
25 B 0.15
35 C 0.10
30 C 0.05


Now with a slicer I want to first select none, one or all of Items, after which I want to select which trend rise I want to apply on selected items(low, medium, high or very high). If I select only item A then Item B and C use their trend_default value in the calculation.



EDIT 2:
How would I go on about applying the same solution if my categories had hierarchies? So from my slicer I would select three things: Category1, Year and Category2.



category1 - Year - Category2 - trend rise
POSITIVE-trends 2018 low 5%
POSITIVE-trends 2018 high 5%
POSITIVE-trends 2017 low 5%
NEGATIVE-trends 2017 very high -5%
NEUTRAL-trends 2018 low 0%
POSITIVE-trends 2018 high 5%
NEUTRAL-trends 2017 low 5%
NEUTRAL-trends 2016 very high 15%


What I tried to do to implement the hierarchies is building upon the code provided:



Value + Trend = 
SUMX (
'Demo Fact Table';
'Demo Fact Table'[Value] *
( 1 +
IF (
ISFILTERED ( 'Item Chooser'[Category1] ) &&
ISFILTERED ( 'Item Chooser'[Category2] ) &&
ISFILTERED ( 'Item Chooser'[Category3] ) &&
CONTAINS (
'Item Chooser';
'Item Chooser'[concatenatedFields];
'Demo Fact Table'[concatenatedFields]
) &&
HASONEVALUE ( 'Scenario - Trend'[Category] );
VALUES ( 'Scenario - Trend'[Trend Rise] );
'Demo Fact Table'[trend_default]
)
)
)


I made a concatenated field with the three categories, in one table, however in the other table I only have two fields Category2 & category3, and am not able to match them due to this. My thought was that I could concat two fields and lookup that value in the table, but that was not viable.










share|improve this question




























    0















    I've followed multiple tutorials on scenario analysis and what if analysis in power BI. these examples are quite clear to me and I somewhat understand how they work. For example this (https://community.powerbi.com/t5/Community-Blog/Scenario-Analysis-What-Ifs-Tips-amp-Techniques-For-Power-BI/ba-p/559653).



    In this example they create a table that contains values for different scenarios



    5%
    10%
    15%
    20%



    etc. and the user of the report can select these. But what if instead of direct values I have categorical values, such as "Low, medium, high, very high" like:



    category - trend rise
    low 5%
    medium 10%
    high 15%
    very high 20%


    On my other table I have:



    Value - Item - trend_default
    10 A 0.3
    15 A 0.2
    20 B 0.4
    25 B 0.15
    35 C 0.10
    30 C 0.05


    Now with a slicer I want to first select none, one or all of Items, after which I want to select which trend rise I want to apply on selected items(low, medium, high or very high). If I select only item A then Item B and C use their trend_default value in the calculation.



    EDIT 2:
    How would I go on about applying the same solution if my categories had hierarchies? So from my slicer I would select three things: Category1, Year and Category2.



    category1 - Year - Category2 - trend rise
    POSITIVE-trends 2018 low 5%
    POSITIVE-trends 2018 high 5%
    POSITIVE-trends 2017 low 5%
    NEGATIVE-trends 2017 very high -5%
    NEUTRAL-trends 2018 low 0%
    POSITIVE-trends 2018 high 5%
    NEUTRAL-trends 2017 low 5%
    NEUTRAL-trends 2016 very high 15%


    What I tried to do to implement the hierarchies is building upon the code provided:



    Value + Trend = 
    SUMX (
    'Demo Fact Table';
    'Demo Fact Table'[Value] *
    ( 1 +
    IF (
    ISFILTERED ( 'Item Chooser'[Category1] ) &&
    ISFILTERED ( 'Item Chooser'[Category2] ) &&
    ISFILTERED ( 'Item Chooser'[Category3] ) &&
    CONTAINS (
    'Item Chooser';
    'Item Chooser'[concatenatedFields];
    'Demo Fact Table'[concatenatedFields]
    ) &&
    HASONEVALUE ( 'Scenario - Trend'[Category] );
    VALUES ( 'Scenario - Trend'[Trend Rise] );
    'Demo Fact Table'[trend_default]
    )
    )
    )


    I made a concatenated field with the three categories, in one table, however in the other table I only have two fields Category2 & category3, and am not able to match them due to this. My thought was that I could concat two fields and lookup that value in the table, but that was not viable.










    share|improve this question


























      0












      0








      0








      I've followed multiple tutorials on scenario analysis and what if analysis in power BI. these examples are quite clear to me and I somewhat understand how they work. For example this (https://community.powerbi.com/t5/Community-Blog/Scenario-Analysis-What-Ifs-Tips-amp-Techniques-For-Power-BI/ba-p/559653).



      In this example they create a table that contains values for different scenarios



      5%
      10%
      15%
      20%



      etc. and the user of the report can select these. But what if instead of direct values I have categorical values, such as "Low, medium, high, very high" like:



      category - trend rise
      low 5%
      medium 10%
      high 15%
      very high 20%


      On my other table I have:



      Value - Item - trend_default
      10 A 0.3
      15 A 0.2
      20 B 0.4
      25 B 0.15
      35 C 0.10
      30 C 0.05


      Now with a slicer I want to first select none, one or all of Items, after which I want to select which trend rise I want to apply on selected items(low, medium, high or very high). If I select only item A then Item B and C use their trend_default value in the calculation.



      EDIT 2:
      How would I go on about applying the same solution if my categories had hierarchies? So from my slicer I would select three things: Category1, Year and Category2.



      category1 - Year - Category2 - trend rise
      POSITIVE-trends 2018 low 5%
      POSITIVE-trends 2018 high 5%
      POSITIVE-trends 2017 low 5%
      NEGATIVE-trends 2017 very high -5%
      NEUTRAL-trends 2018 low 0%
      POSITIVE-trends 2018 high 5%
      NEUTRAL-trends 2017 low 5%
      NEUTRAL-trends 2016 very high 15%


      What I tried to do to implement the hierarchies is building upon the code provided:



      Value + Trend = 
      SUMX (
      'Demo Fact Table';
      'Demo Fact Table'[Value] *
      ( 1 +
      IF (
      ISFILTERED ( 'Item Chooser'[Category1] ) &&
      ISFILTERED ( 'Item Chooser'[Category2] ) &&
      ISFILTERED ( 'Item Chooser'[Category3] ) &&
      CONTAINS (
      'Item Chooser';
      'Item Chooser'[concatenatedFields];
      'Demo Fact Table'[concatenatedFields]
      ) &&
      HASONEVALUE ( 'Scenario - Trend'[Category] );
      VALUES ( 'Scenario - Trend'[Trend Rise] );
      'Demo Fact Table'[trend_default]
      )
      )
      )


      I made a concatenated field with the three categories, in one table, however in the other table I only have two fields Category2 & category3, and am not able to match them due to this. My thought was that I could concat two fields and lookup that value in the table, but that was not viable.










      share|improve this question
















      I've followed multiple tutorials on scenario analysis and what if analysis in power BI. these examples are quite clear to me and I somewhat understand how they work. For example this (https://community.powerbi.com/t5/Community-Blog/Scenario-Analysis-What-Ifs-Tips-amp-Techniques-For-Power-BI/ba-p/559653).



      In this example they create a table that contains values for different scenarios



      5%
      10%
      15%
      20%



      etc. and the user of the report can select these. But what if instead of direct values I have categorical values, such as "Low, medium, high, very high" like:



      category - trend rise
      low 5%
      medium 10%
      high 15%
      very high 20%


      On my other table I have:



      Value - Item - trend_default
      10 A 0.3
      15 A 0.2
      20 B 0.4
      25 B 0.15
      35 C 0.10
      30 C 0.05


      Now with a slicer I want to first select none, one or all of Items, after which I want to select which trend rise I want to apply on selected items(low, medium, high or very high). If I select only item A then Item B and C use their trend_default value in the calculation.



      EDIT 2:
      How would I go on about applying the same solution if my categories had hierarchies? So from my slicer I would select three things: Category1, Year and Category2.



      category1 - Year - Category2 - trend rise
      POSITIVE-trends 2018 low 5%
      POSITIVE-trends 2018 high 5%
      POSITIVE-trends 2017 low 5%
      NEGATIVE-trends 2017 very high -5%
      NEUTRAL-trends 2018 low 0%
      POSITIVE-trends 2018 high 5%
      NEUTRAL-trends 2017 low 5%
      NEUTRAL-trends 2016 very high 15%


      What I tried to do to implement the hierarchies is building upon the code provided:



      Value + Trend = 
      SUMX (
      'Demo Fact Table';
      'Demo Fact Table'[Value] *
      ( 1 +
      IF (
      ISFILTERED ( 'Item Chooser'[Category1] ) &&
      ISFILTERED ( 'Item Chooser'[Category2] ) &&
      ISFILTERED ( 'Item Chooser'[Category3] ) &&
      CONTAINS (
      'Item Chooser';
      'Item Chooser'[concatenatedFields];
      'Demo Fact Table'[concatenatedFields]
      ) &&
      HASONEVALUE ( 'Scenario - Trend'[Category] );
      VALUES ( 'Scenario - Trend'[Trend Rise] );
      'Demo Fact Table'[trend_default]
      )
      )
      )


      I made a concatenated field with the three categories, in one table, however in the other table I only have two fields Category2 & category3, and am not able to match them due to this. My thought was that I could concat two fields and lookup that value in the table, but that was not viable.







      powerbi lookup analysis scenarios






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago







      Anton

















      asked Mar 21 at 13:49









      AntonAnton

      748




      748






















          1 Answer
          1






          active

          oldest

          votes


















          1














          ORIGINAL ANSWER



          You can create your disconnected table with more than one column, like your example.



          Then create a measure, based on the selected value of that table. Something like:



          Value + Trend Rise = 
          VAR Multiplier =
          1 + IF (
          HASONEVALUE ( 'Scenario - Trend'[Category] ),
          VALUES ( 'Scenario - Trend'[Trend Rise] ),
          0
          )
          RETURN
          SUM ( 'Demo Fact Table'[Value] ) * Multiplier


          See https://pwrbi.com/so_55281950/ for worked example PBIX file



          UPDATE, BASED ON EDITED QUESTION:



          First, create a disconnected dimension table to choose (slice) your Items:



          Item Chooser = 
          SUMMARIZECOLUMNS (
          'Demo Fact Table'[Item]
          )


          Now you can use measure:



          Value + Trend = 
          SUMX (
          'Demo Fact Table',
          'Demo Fact Table'[Value] *
          ( 1 +
          IF (
          ISFILTERED ( 'Item Chooser'[Item] ) &&
          CONTAINS (
          'Item Chooser',
          'Item Chooser'[Item],
          'Demo Fact Table'[Item]
          ) &&
          HASONEVALUE ( 'Scenario - Trend'[Category] ),
          VALUES ( 'Scenario - Trend'[Trend Rise] ),
          'Demo Fact Table'[trend_default]
          )
          )
          )


          It should be straightforward to modify this if you wanted to return a default trend value per item, from a related item table.



          Updated example file: https://pwrbi.com/so_55281950-2/






          share|improve this answer

























          • Thanks for the reply. I might have oversimplified my problem since, despite answering my question I'm still not 100% sure how to progress. So what if instead of one fixed "trend rise" I select which columns I want to "apply" the trend rise on. So in your given example, what if I first have a slicer where I select from [Item] A,B or C. and based on those I can select none, one or all. and then apply the selected Trend rise on the selected items, and on other items apply their default "trend rise" which is also column in the "demo fact table" (in your case). I updated the: file.io/5YDn72

            – Anton
            2 days ago











          • Thank you, I have now done so.

            – Anton
            2 days ago











          • odd, can you try this one: file.io/X8a4VU

            – Anton
            2 days ago











          • Anyway, its basically a mimic of your file with the added "default_Trend" column.

            – Anton
            2 days ago











          • Seems the file is only available for a limited amount of time. I added a a third column in the "demo fact table" with made up "default_trends" and a slicer on the report which lets the user pick what "Item"s to apply the trend_rise on.

            – Anton
            2 days ago











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55281950%2fpower-bi-how-to-scenario-analysis-where-the-selector-looks-up-the-select-val%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          ORIGINAL ANSWER



          You can create your disconnected table with more than one column, like your example.



          Then create a measure, based on the selected value of that table. Something like:



          Value + Trend Rise = 
          VAR Multiplier =
          1 + IF (
          HASONEVALUE ( 'Scenario - Trend'[Category] ),
          VALUES ( 'Scenario - Trend'[Trend Rise] ),
          0
          )
          RETURN
          SUM ( 'Demo Fact Table'[Value] ) * Multiplier


          See https://pwrbi.com/so_55281950/ for worked example PBIX file



          UPDATE, BASED ON EDITED QUESTION:



          First, create a disconnected dimension table to choose (slice) your Items:



          Item Chooser = 
          SUMMARIZECOLUMNS (
          'Demo Fact Table'[Item]
          )


          Now you can use measure:



          Value + Trend = 
          SUMX (
          'Demo Fact Table',
          'Demo Fact Table'[Value] *
          ( 1 +
          IF (
          ISFILTERED ( 'Item Chooser'[Item] ) &&
          CONTAINS (
          'Item Chooser',
          'Item Chooser'[Item],
          'Demo Fact Table'[Item]
          ) &&
          HASONEVALUE ( 'Scenario - Trend'[Category] ),
          VALUES ( 'Scenario - Trend'[Trend Rise] ),
          'Demo Fact Table'[trend_default]
          )
          )
          )


          It should be straightforward to modify this if you wanted to return a default trend value per item, from a related item table.



          Updated example file: https://pwrbi.com/so_55281950-2/






          share|improve this answer

























          • Thanks for the reply. I might have oversimplified my problem since, despite answering my question I'm still not 100% sure how to progress. So what if instead of one fixed "trend rise" I select which columns I want to "apply" the trend rise on. So in your given example, what if I first have a slicer where I select from [Item] A,B or C. and based on those I can select none, one or all. and then apply the selected Trend rise on the selected items, and on other items apply their default "trend rise" which is also column in the "demo fact table" (in your case). I updated the: file.io/5YDn72

            – Anton
            2 days ago











          • Thank you, I have now done so.

            – Anton
            2 days ago











          • odd, can you try this one: file.io/X8a4VU

            – Anton
            2 days ago











          • Anyway, its basically a mimic of your file with the added "default_Trend" column.

            – Anton
            2 days ago











          • Seems the file is only available for a limited amount of time. I added a a third column in the "demo fact table" with made up "default_trends" and a slicer on the report which lets the user pick what "Item"s to apply the trend_rise on.

            – Anton
            2 days ago
















          1














          ORIGINAL ANSWER



          You can create your disconnected table with more than one column, like your example.



          Then create a measure, based on the selected value of that table. Something like:



          Value + Trend Rise = 
          VAR Multiplier =
          1 + IF (
          HASONEVALUE ( 'Scenario - Trend'[Category] ),
          VALUES ( 'Scenario - Trend'[Trend Rise] ),
          0
          )
          RETURN
          SUM ( 'Demo Fact Table'[Value] ) * Multiplier


          See https://pwrbi.com/so_55281950/ for worked example PBIX file



          UPDATE, BASED ON EDITED QUESTION:



          First, create a disconnected dimension table to choose (slice) your Items:



          Item Chooser = 
          SUMMARIZECOLUMNS (
          'Demo Fact Table'[Item]
          )


          Now you can use measure:



          Value + Trend = 
          SUMX (
          'Demo Fact Table',
          'Demo Fact Table'[Value] *
          ( 1 +
          IF (
          ISFILTERED ( 'Item Chooser'[Item] ) &&
          CONTAINS (
          'Item Chooser',
          'Item Chooser'[Item],
          'Demo Fact Table'[Item]
          ) &&
          HASONEVALUE ( 'Scenario - Trend'[Category] ),
          VALUES ( 'Scenario - Trend'[Trend Rise] ),
          'Demo Fact Table'[trend_default]
          )
          )
          )


          It should be straightforward to modify this if you wanted to return a default trend value per item, from a related item table.



          Updated example file: https://pwrbi.com/so_55281950-2/






          share|improve this answer

























          • Thanks for the reply. I might have oversimplified my problem since, despite answering my question I'm still not 100% sure how to progress. So what if instead of one fixed "trend rise" I select which columns I want to "apply" the trend rise on. So in your given example, what if I first have a slicer where I select from [Item] A,B or C. and based on those I can select none, one or all. and then apply the selected Trend rise on the selected items, and on other items apply their default "trend rise" which is also column in the "demo fact table" (in your case). I updated the: file.io/5YDn72

            – Anton
            2 days ago











          • Thank you, I have now done so.

            – Anton
            2 days ago











          • odd, can you try this one: file.io/X8a4VU

            – Anton
            2 days ago











          • Anyway, its basically a mimic of your file with the added "default_Trend" column.

            – Anton
            2 days ago











          • Seems the file is only available for a limited amount of time. I added a a third column in the "demo fact table" with made up "default_trends" and a slicer on the report which lets the user pick what "Item"s to apply the trend_rise on.

            – Anton
            2 days ago














          1












          1








          1







          ORIGINAL ANSWER



          You can create your disconnected table with more than one column, like your example.



          Then create a measure, based on the selected value of that table. Something like:



          Value + Trend Rise = 
          VAR Multiplier =
          1 + IF (
          HASONEVALUE ( 'Scenario - Trend'[Category] ),
          VALUES ( 'Scenario - Trend'[Trend Rise] ),
          0
          )
          RETURN
          SUM ( 'Demo Fact Table'[Value] ) * Multiplier


          See https://pwrbi.com/so_55281950/ for worked example PBIX file



          UPDATE, BASED ON EDITED QUESTION:



          First, create a disconnected dimension table to choose (slice) your Items:



          Item Chooser = 
          SUMMARIZECOLUMNS (
          'Demo Fact Table'[Item]
          )


          Now you can use measure:



          Value + Trend = 
          SUMX (
          'Demo Fact Table',
          'Demo Fact Table'[Value] *
          ( 1 +
          IF (
          ISFILTERED ( 'Item Chooser'[Item] ) &&
          CONTAINS (
          'Item Chooser',
          'Item Chooser'[Item],
          'Demo Fact Table'[Item]
          ) &&
          HASONEVALUE ( 'Scenario - Trend'[Category] ),
          VALUES ( 'Scenario - Trend'[Trend Rise] ),
          'Demo Fact Table'[trend_default]
          )
          )
          )


          It should be straightforward to modify this if you wanted to return a default trend value per item, from a related item table.



          Updated example file: https://pwrbi.com/so_55281950-2/






          share|improve this answer















          ORIGINAL ANSWER



          You can create your disconnected table with more than one column, like your example.



          Then create a measure, based on the selected value of that table. Something like:



          Value + Trend Rise = 
          VAR Multiplier =
          1 + IF (
          HASONEVALUE ( 'Scenario - Trend'[Category] ),
          VALUES ( 'Scenario - Trend'[Trend Rise] ),
          0
          )
          RETURN
          SUM ( 'Demo Fact Table'[Value] ) * Multiplier


          See https://pwrbi.com/so_55281950/ for worked example PBIX file



          UPDATE, BASED ON EDITED QUESTION:



          First, create a disconnected dimension table to choose (slice) your Items:



          Item Chooser = 
          SUMMARIZECOLUMNS (
          'Demo Fact Table'[Item]
          )


          Now you can use measure:



          Value + Trend = 
          SUMX (
          'Demo Fact Table',
          'Demo Fact Table'[Value] *
          ( 1 +
          IF (
          ISFILTERED ( 'Item Chooser'[Item] ) &&
          CONTAINS (
          'Item Chooser',
          'Item Chooser'[Item],
          'Demo Fact Table'[Item]
          ) &&
          HASONEVALUE ( 'Scenario - Trend'[Category] ),
          VALUES ( 'Scenario - Trend'[Trend Rise] ),
          'Demo Fact Table'[trend_default]
          )
          )
          )


          It should be straightforward to modify this if you wanted to return a default trend value per item, from a related item table.



          Updated example file: https://pwrbi.com/so_55281950-2/







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 days ago

























          answered Mar 21 at 14:46









          OllyOlly

          4,30511028




          4,30511028












          • Thanks for the reply. I might have oversimplified my problem since, despite answering my question I'm still not 100% sure how to progress. So what if instead of one fixed "trend rise" I select which columns I want to "apply" the trend rise on. So in your given example, what if I first have a slicer where I select from [Item] A,B or C. and based on those I can select none, one or all. and then apply the selected Trend rise on the selected items, and on other items apply their default "trend rise" which is also column in the "demo fact table" (in your case). I updated the: file.io/5YDn72

            – Anton
            2 days ago











          • Thank you, I have now done so.

            – Anton
            2 days ago











          • odd, can you try this one: file.io/X8a4VU

            – Anton
            2 days ago











          • Anyway, its basically a mimic of your file with the added "default_Trend" column.

            – Anton
            2 days ago











          • Seems the file is only available for a limited amount of time. I added a a third column in the "demo fact table" with made up "default_trends" and a slicer on the report which lets the user pick what "Item"s to apply the trend_rise on.

            – Anton
            2 days ago


















          • Thanks for the reply. I might have oversimplified my problem since, despite answering my question I'm still not 100% sure how to progress. So what if instead of one fixed "trend rise" I select which columns I want to "apply" the trend rise on. So in your given example, what if I first have a slicer where I select from [Item] A,B or C. and based on those I can select none, one or all. and then apply the selected Trend rise on the selected items, and on other items apply their default "trend rise" which is also column in the "demo fact table" (in your case). I updated the: file.io/5YDn72

            – Anton
            2 days ago











          • Thank you, I have now done so.

            – Anton
            2 days ago











          • odd, can you try this one: file.io/X8a4VU

            – Anton
            2 days ago











          • Anyway, its basically a mimic of your file with the added "default_Trend" column.

            – Anton
            2 days ago











          • Seems the file is only available for a limited amount of time. I added a a third column in the "demo fact table" with made up "default_trends" and a slicer on the report which lets the user pick what "Item"s to apply the trend_rise on.

            – Anton
            2 days ago

















          Thanks for the reply. I might have oversimplified my problem since, despite answering my question I'm still not 100% sure how to progress. So what if instead of one fixed "trend rise" I select which columns I want to "apply" the trend rise on. So in your given example, what if I first have a slicer where I select from [Item] A,B or C. and based on those I can select none, one or all. and then apply the selected Trend rise on the selected items, and on other items apply their default "trend rise" which is also column in the "demo fact table" (in your case). I updated the: file.io/5YDn72

          – Anton
          2 days ago





          Thanks for the reply. I might have oversimplified my problem since, despite answering my question I'm still not 100% sure how to progress. So what if instead of one fixed "trend rise" I select which columns I want to "apply" the trend rise on. So in your given example, what if I first have a slicer where I select from [Item] A,B or C. and based on those I can select none, one or all. and then apply the selected Trend rise on the selected items, and on other items apply their default "trend rise" which is also column in the "demo fact table" (in your case). I updated the: file.io/5YDn72

          – Anton
          2 days ago













          Thank you, I have now done so.

          – Anton
          2 days ago





          Thank you, I have now done so.

          – Anton
          2 days ago













          odd, can you try this one: file.io/X8a4VU

          – Anton
          2 days ago





          odd, can you try this one: file.io/X8a4VU

          – Anton
          2 days ago













          Anyway, its basically a mimic of your file with the added "default_Trend" column.

          – Anton
          2 days ago





          Anyway, its basically a mimic of your file with the added "default_Trend" column.

          – Anton
          2 days ago













          Seems the file is only available for a limited amount of time. I added a a third column in the "demo fact table" with made up "default_trends" and a slicer on the report which lets the user pick what "Item"s to apply the trend_rise on.

          – Anton
          2 days ago






          Seems the file is only available for a limited amount of time. I added a a third column in the "demo fact table" with made up "default_trends" and a slicer on the report which lets the user pick what "Item"s to apply the trend_rise on.

          – Anton
          2 days ago




















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55281950%2fpower-bi-how-to-scenario-analysis-where-the-selector-looks-up-the-select-val%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현