Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I want to make this graph order wise like below
Solved! Go to Solution.
Hi @Anonymous ,
I created a sample pbix file(see attachment), please check whether that is what you want.
1. Create a sorted table by manual typing. You can also put this sorted table on a cloud-based file (e.g. OneDrive), which makes it easy to maintain and refresh later.
2. Select the field "Reduction buckets" and sort by column "Order"
3. Update the formula of your measure [Total Month] as below:
Total Month =
VAR _selbucket =
SELECTEDVALUE ( 'OrderTable'[Reduction buckets] )
RETURN
IF (
_selbucket = "Total Month Variation",
CALCULATE (
SUM ( 'Master Data Base'[Value] ),
ALLSELECTED ( 'OrderTable'[Reduction buckets] )
),
CALCULATE (
SUM ( 'Master Data Base'[Value] ),
FILTER (
'Master Data Base',
'Master Data Base'[Reduction buckets] = _selbucket
)
)
)
4. Create a clustered column chart(Axis:Reduction buckets of table OrderTable Values: Total Month)
Best Regards
Hi @Anonymous ,
I created a sample pbix file(see attachment), please check whether that is what you want.
1. Create a sorted table by manual typing. You can also put this sorted table on a cloud-based file (e.g. OneDrive), which makes it easy to maintain and refresh later.
2. Select the field "Reduction buckets" and sort by column "Order"
3. Update the formula of your measure [Total Month] as below:
Total Month =
VAR _selbucket =
SELECTEDVALUE ( 'OrderTable'[Reduction buckets] )
RETURN
IF (
_selbucket = "Total Month Variation",
CALCULATE (
SUM ( 'Master Data Base'[Value] ),
ALLSELECTED ( 'OrderTable'[Reduction buckets] )
),
CALCULATE (
SUM ( 'Master Data Base'[Value] ),
FILTER (
'Master Data Base',
'Master Data Base'[Reduction buckets] = _selbucket
)
)
)
4. Create a clustered column chart(Axis:Reduction buckets of table OrderTable Values: Total Month)
Best Regards
I want to make this graph order wise like below
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
5 | |
4 | |
4 |