- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to combine measures with table grouped in bins?
I have the below table:
(Columns Revenue 1, 2,3 are just different groups… the revenue shall appear in only one of them… either 1,2 or 3… and then repeated in ‘Revenue’ column).
I want to create a stacked bar chart… (like below)
Where in the Y axis, I shall have custom bins (ie 0-100, 101-200 and 201-100000). And in the x axis a stacked with a count on distinct clients.
What I have so far is 3 measures (see below) to achieve the distinct count on the clients, but I am unable to produce the bins and display it in the y axis as above, how can I achieve it??
CALCULATE(DISTINCTCOUNT('Fact'[Key_Customer]), FILTER('Fact','Fact'[Revenue1]>0))
CALCULATE(DISTINCTCOUNT('Fact'[Key_Customer]), FILTER('Fact','Fact'[Revenue2]>0))
CALCULATE(DISTINCTCOUNT('Fact'[Key_Customer]), FILTER('Fact','Fact'[Revenue3]>0))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hopefully your source data comes in a better format. Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
11-25-2022 05:37 AM | |||
03-09-2023 01:01 PM | |||
01-09-2024 04:47 AM | |||
05-10-2024 11:04 AM | |||
06-20-2024 07:27 AM |
User | Count |
---|---|
14 | |
13 | |
11 | |
10 | |
8 |