- 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

Distinc count by record values
Hi,
hope someone can help me with the following:
Based on the table below, I want to calculate how often a certain combination occurs per unique MO_Monsternummer value?
concerns the combinations based on column "Categorie coli":
- 1 and 2
- 1 and 4
- 3 and 2
- 3 and 4
The result i'm looking for is this:
regards
ICTURION
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

A trickier solution to your tricky question,
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

A trickier solution to your tricky question,
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi CNENFRNL,
Is it also possible to calculate the numbers per category in a separate measure? I also want to be able to calculate with the different results per category. For example by dividing the number of category "1 and 2" by the number of category "1 and 4". so 2/5 = 0.4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

thank you. I didn't realize the solution was so tricky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@icturion can you please provide sample data in a table format?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

MO_Monsternummer | Categorie coli |
123 | 1 |
123 | 2 |
234 | 1 |
234 | 4 |
345 | 3 |
345 | 2 |
456 | 1 |
456 | 4 |
567 | 1 |
567 | 4 |
678 | 1 |
678 | 4 |
789 | 1 |
789 | 4 |
789 | 3 |
789 | 2 |
Hi SMPA01, her is the sample data in a table format. Thank you

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
06-15-2024 03:14 AM | |||
04-11-2024 03:11 PM | |||
09-15-2022 12:38 AM | |||
10-25-2024 04:21 AM | |||
10-11-2024 08:00 AM |
User | Count |
---|---|
141 | |
115 | |
84 | |
63 | |
48 |