Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello to all,
My client has requested to create a Power BI report based on the Excel format. There is a requirement for Slicers to filter the report by the range of percentage (0 - 20%, 20-40%).
I know for a slicer, it is better to create a calculated column and use it in a Slicer.
Since I've created a measure to calculate dynamic Percentage, is it possible to create a slicer with a defined percentage range?
I need to check the feasibility of this, is it achievable or it's a limitation in Power BI?
Please help.
Hi @aakif_aslam
create a table that contains the range name, lower limit and upper limit
then use the following measure instead
Dynamic Percentage 2 =
SUMX (
CROSSJOIN ( 'PercentageRange', VALUES ( 'Table'[Attribute] ) ),
VAR DynamicPercentage = [Dynamic Percentage]
RETURN
INT ( DynamicPercentage >= 'PercentageRange'[Lower Limit]
&& DynamicPercentage < 'PercentageRange'[Upper Limit] )
)
Hi @tamerj1,
Thankyou for the response.
From your response what I understand is the table name that is created with total of 3 columns.
Below is the error I received -
Am I missing something here?
@aakif_aslam
Please refer to my original reply. I have highlighted the key sentences in bold font.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
12 | |
11 | |
8 |
User | Count |
---|---|
24 | |
19 | |
12 | |
11 | |
10 |