Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Dear community
"I Want to slice dealer achivemnt sales with percentage slicer".
I have 2 table
cube_invoice
cube _arget,
in cube_invoice table have their dealer code and its sales quantity ,
in cube _target, table also have dealer code and its target quantity.
with the help of data modeling i combine these table and get this condition
Here target achieved with this measure
Target Achieved % = DIVIDE( SUM(CUBE_INVOICE[INVOICE QUANTITY]), SUM(CUBE_TARGET[TARGET QUANTITY]) )
Now i want To satisfy this condition if I select 0 to 20% on the slicer, then it will only return the names of dealers who have achieved 20% sales; that is, it should not return the entire value of the slices.
Please help
Hi @sachinnamdeo798 ,
Consider creating an unconnected enter table for the slicer.
Then create a measure and use it as the filter for the table visualization. like this.
Measure =
SWITCH(
SELECTEDVALUE('Table'[Percentage]),
"0 to 20%",IF([Target Achieved %]>=0.2,1),
"0 to 40%",IF([Target Achieved %]>=0.4,1),
"0 to 60%",IF([Target Achieved %]>=0.6,1),
"0 to 80%",IF([Target Achieved %]>=0.8,1)
)
You can modify it according to your actual needs.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
25 | |
20 | |
18 | |
17 | |
16 |
User | Count |
---|---|
34 | |
21 | |
19 | |
18 | |
10 |