Forum Discussion
Need Urgent help
- 2 years ago
Hi Anonymous
please refer to the linked video:
https://www.youtube.com/watch?v=FDa0I3J3h-cIf this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
- 2 years ago
Anonymous
if this is what you want :
then just modify the code to this :
Measure 9 = var lowerbound = MIN(Segment_table[Min]) var upperbound = MAX(Segment_table[max]) var ds = FILTER( VALUES(Sheet1[UUID]), [Total Revenue] >= lowerbound && [Total Revenue]< upperbound ) return COUNTROWS(ds)let me know if this works.
If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution ✅
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠
Hi Anonymous
please refer to the linked video:
https://www.youtube.com/watch?v=FDa0I3J3h-c
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
- Anonymous2 years agoNot applicable
Please review the attached 2 screenshots
One screenshot is from my power BI file and second screenshot is from the video which is showing the dax.
. If I select UUID(user id) then in the bar chart it is showing 3 different bars . As the total Revenue is 433.98(see table view), the bar of bar chart should only show 1 bar which comes under 400 - 450 GBP.
All other slicers are showing the correcct value.
This UUID slicer is not required but if I do deep analysis then I am facing this concern
I am stuck here. I already made the calculation but with a diffrent way. In the video they have shown me a shortcut.
This is the dax that I have written after watching the video:
Group Revenue =CALCULATE(COUNTROWS(act_orders),FILTER(act_orders,NOT(ISEMPTY(FILTER(Segment,NOT(ISBLANK([Total Revenue])) && Segment[Min]<[Total Revenue] && Segment[Max]>=[Total Revenue])))))In the video they are not facing this multiple bars concern but I am facing.I beg you pls help me.- Ritaf19832 years ago
Super User
Hi Anonymous
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- Anonymous2 years agoNot applicable
Sample Daniel29195 Ritaf1983 . I have uploaded the sample power bi file. You can clearly see that for the particular uuid which I have selected in the slicer is showing 3 different bars for all the groups. But I need only 1 bar which will show the segment this uuid's total revenue lies. The correct graph will show only 1 graph with segment as 400 - 450 GBP