Forum Discussion
DAX
Hi Team,
I have a data set and i want to create a visual using that one
The above shows the data and i want to create a visual that show no of accounts in a barchart and its axis is revenue interval(shown in below image)
i made solution ,i have added a calculated column and its working for indivdual months.
But the issue was if select multiple month in slicer am not able to sum the revenue and not able to show interval dynamically.
ie if revenue in first month 1253 and second month was 92856 ,when select both months i want interval 10000-100000 buts now its showing as two intervals 0-10000 and 10000-100000.
Can any one please help me to solve this
2 Replies
- amitchandakSuper User
Anonymous , There are two types of intervals you can create. One static which is a column
Switch(True(),
[Revenue] <10000, " 0 -10000",
[Revenue] <50000, " 10000 -50000",
//Add other
"GT 1,000,000"
)
Another is dynamic segmentation
Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626
Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k- AnonymousNot applicable
Hi Amit,
Its help to calculate the no of accounts ,but when am trying to filter its not working
i clicked on first visual ,but the second one not filtering based on that,can you please help