The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Dear Community,
I have a working measure, which is as follows:
Hi @Orstenpowers ,
I want to validate the valuable input provided by @jgeddes and @samratpbi . Their initial thoughts helped guide my approach. However, I noticed that more details are needed to fully understand the problem.
1. create parameters.
2. create measure.
Measure =
RIGHT(LEFT(MAX('Table'[value]),'Parameter'[Parameter Value]),1)
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-kaiyue-msft !
Dear Clara, Thank you very much for your input!
Your parameter and measure works perfectly! Thank you!
However, my request goes somewhat beyond that. Please have a look at the below screenshot. My final and required result would be to see the results of column "Measure" as selectable values for a separate slicer. Looking at this screenshot, the slicer should contain the values 0, 1, 4 and 6.
Did I explain it understandable?
Hi @Orstenpowers ,
You can try using filters on the right hand side of the report to select the appropriate filter to display the desired value.
Also, if you want to use measure as slicer value, you can refer to this solution: Solved: How to use a measure as slicer? - Microsoft Fabric Community.
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-kaiyue-msft !
I tried to transfer the measure you provided into the proposed solution at Solution for "How-to-use-a-measure-as-slicer" .
Obviously, I am not skilled enough.
May I ask you to please assist/ tell me what I need to do?
Hi @v-kaiyue-msft ,
Thanks for your response!
I will check the link that you provided. Hopefully I get the slicer solution started...
If not, I would come back to you. 🙂
Hi @v-kaiyue-msft !
I tried to transfer the measure you provided into the proposed solution at Solution for "How-to-use-a-measure-as-slicer" .
Obviously, I am not skilled enough. 😔
May I ask you to please assist/ tell me what I need to do?
Hi @v-kaiyue-msft !
I tried to transfer the measure you provided into the proposed solution at Solution for "How-to-use-a-measure-as-slicer" .
Obviously, I am not skilled enough.
May I ask you to please assist/ tell me what I need to do?
Hi,
you need to generate a series using Fields parameter first.
Modeling -> New Parameter -> Fields. Generate the fields parameter with min 1 and max 32.
Now, in the measure you use the measure generated which is:
Series Value = SELECTEDVALUE('Series'[Series], 1)
Now, use this Series Value measure to decide your trim characters.
I created a sample measure to test:
If this resolves your problem, then please mark it as solution, Thanks!
Hi @samratpbi,
Thanks for your proposal! After adjusting it slightly, it brings the expected result with your sample text, which is great. 👍
Now it is as follows:
As an example you could use the measure
Extracted Text =
LEFT(
SELECTEDVALUE('Table'[Column1]), //The column that contains the text to be manipulated
SELECTEDVALUE(Digit[Digit]) //The value selected from the slicer
)
to get a result of
from the tables
Column1
Proud to be a Super User! | |
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
101 | |
97 | |
80 | |
62 | |
57 |
User | Count |
---|---|
264 | |
120 | |
115 | |
83 | |
70 |