Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17890

Using Calculated Measures to derive new Stats / Visualisations

$
0
0

Hi All,

 

I am trying to create few calculated measures and then want to re-use them to derive new Stats / Values. Here is an example from my end

Customer       Premium       Customer band (Derived Measure)        Org

C1                  100                                                                               O1

C1                  400                                                                               O2

C2                  50                                                                                 O1

C2                  375                                                                               O2

C3                  425                                                                               O2

 

I created a Calculated Measure named Customer Band which I would project in my Visualization along with Customer.

Assuming user selected Org = O2 then 

 

Customer Band Derivation -> (total premium > 400) then High else Low

 

Customer       Customer Band

C1                   Low

C2                   Low

C3                   High

 

Using above result, I would like to project a new Visualisation using measure Customer Band

Customer Band                Count (DISTINCT Customers)

High                                 1

Low                                  2

 

Now Lets assume User selected Org = O1 then

 

Customer         Customer Band

C1                     Low

C2                     Low

 

Using Above result, I would like to project a new Visualisation using measure Customer Band

Customer Band               Count (DISTINCT Customers)

Low                                 2

 

How can this be achieved in Power BI. Please let me know you if more information is required.

 


Viewing all articles
Browse latest Browse all 17890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>