Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear Community,
I have a table, and a measure called ROL,
ROL has 3 different values, by filtering ROL, table should be updated,
How can I have this feature in powerBI? Is it possible?
(Is it possible put ROL in filter pane and have 3 bookmarks which bookmarks are filtered by a measure ROL? If yes, How? )
Thanks in advance
Solved! Go to Solution.
Hi @Anonymous ,
If the measure results are fixed values,you can put them in a slicer table,such as below:
Then create a measure as below:
Measure 2 =
SWITCH(SELECTEDVALUE('Slicer table'[Slicer]),
-1,
CALCULATE(MAX('Table'[Bata]),FILTER('Table','Table'[Measure]=-1)),
0,
CALCULATE(MAX('Table'[Bata]),FILTER('Table','Table'[Measure]=0)),
1,
CALCULATE(MAX('Table'[Bata]),FILTER('Table','Table'[Measure]=1)))
And you will see:
You can also put the measure you created in filter pane and key in a value you need:
I made a simple .pbix file for reference,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
@Anonymous , If ROL is the measure and has three formula's you can use measure slicer to display that
measure slicer
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slicer-parameter-table-pattern
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/500115
In case you do not need this. Can you elobrate a bit
@amitchandak
ROL is the measure with one formula, which results in -1,0,1.
what I want is to have a slicer, and when I select 1, table show the result of list of myproduct in case their ROL=1, and etc for ROL=0 and -1,
the problem is that I can not put measure into slicer, powerBI do not let to do it,
So I thought If its possible to handle it via Filter Pane.
@Anonymous , For that you have to create an independent table with these three values.
You need to have a group by where this value is 1,0,-1 and then use values/summarize and filter these values in new measures
ROI table( Three-row,1,-1,-0) - You can use enter data https://www.tutorialgateway.org/how-to-enter-data-into-power-bi/
Refer to my video that for bucket and range you have = value - https://www.youtube.com/watch?v=CuczXPj0N-k
Create measure like
Sumx(filter(VALUES('Table'[ID]),[ROI] =Min('ROI Table'[ROI])),[ROI])
@amitchandak
I checked your video,
In my case it does not work, the reason is that In forumula of measure ROL, there exist a value which called Beta, amount of beta comes from a slicer, So I can not do segmentation or bucketing,
the values in table are shown by a ROL, and ROL also related to a slicer, Beta.
Anyway thanks for your help
Hi @Anonymous ,
If the measure results are fixed values,you can put them in a slicer table,such as below:
Then create a measure as below:
Measure 2 =
SWITCH(SELECTEDVALUE('Slicer table'[Slicer]),
-1,
CALCULATE(MAX('Table'[Bata]),FILTER('Table','Table'[Measure]=-1)),
0,
CALCULATE(MAX('Table'[Bata]),FILTER('Table','Table'[Measure]=0)),
1,
CALCULATE(MAX('Table'[Bata]),FILTER('Table','Table'[Measure]=1)))
And you will see:
You can also put the measure you created in filter pane and key in a value you need:
I made a simple .pbix file for reference,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |