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.
Hello,
I have a fact table where in I have my Revenue. I need to display the revenue by metrics like Business Type, Company Type and Product Type. I also need a filter called "Revenue Range" which should contain brackets like [0-2 million],[2-6 million] and 6 million and above. This filter should filter out data for Revenue by each metric. For example, if I select Revenue-> [0-2 million], it should show me revenue by Business type, Revenue by Company type and Revenue by product type all lying between 0-2 million. I am unable to do this since I am facing relationship issue. Any help would be appreciated. Please refer to the image below for better clarity. I have cropped the X axis out cos of data security issues.
Solved! Go to Solution.
@Anonymous,
You may add a separate table for Slicer and add an appropriate measure to Visual level filters.
@Anonymous,
You may add a separate table for Slicer and add an appropriate measure to Visual level filters.
@Anonymous
you need to create a calculated column in your table called something like Revenue Banding
then you would need somethign like a switch statement to run it
ie.
new calculated column;
Revenue Banding =
SWITCH ( TRUE (),
and, revenue <= 0, revenue <= 1000, "0-1000",
and, revenue <= 1001, revenue <=2000, "10001-2000",
"not classified"
)
keep adding for each category (unclassified is to catch those that aren't in your specified conditions, can leave out)
Proud to be a Super User!
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |