Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi everybody,
I have to create a price tiering in Power BI something like the picture below and the range can be variable anytime by the user.
For variability every product need a constant indicator. For this indicator I use some calculated measure. Now I have this to table. The product column is not empty, it contains uniqe values but I can't share the content.
This two table contans the same calculated measures.
In the two table all data is the same, but the "Tiers TY" calculated measure is show wrong data and I have no idea why.
Thanks a lot. 🙂
Hi @Anonymous ,
How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?
Best regards,
Hi @v-lid-msft
Thank you for your answer but this solution is not working in my scenario.
I can't use calculated measure, because in the end of the tier calculation I have to count how many economy, standard, premium and super premium product each manufacturer have.
It's necessary because i would like to show the distribution in a graph.
Something like this:
Thanks,
Anett
Hi @Anonymous ,
How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?
Best regards,
Hi @Anonymous ,
Sorry for our late reply, We can create a separation table as the Legend:s
TiersTable = {"Economy","Standard","Premium","Super Premium"}
Then we can use another measure as the value to count the number to used in the barchart:
Measure =
COUNTROWS (
FILTER (
SUMMARIZE (
'SALES VALUE',
'SALES VALUE'[SEGMENT],
'SALES VALUE'[PRODUCT],
"TYS", [Tiers TY]
),
[TYS] IN FILTERS ( 'TiersTable'[Value] )
)
)
Best regards,
Hi @Anonymous ,
The measure is dynamic but the calculated tables are computed during the database processing and then stored in the model. So In your scenario, when the calculated table is generated, it will use the default value of parameter. We suggest to use the measure if you want the tiers can be dynamic by the selected value of parameter.
Best regards,
User | Count |
---|---|
84 | |
80 | |
70 | |
47 | |
43 |
User | Count |
---|---|
108 | |
54 | |
50 | |
40 | |
40 |