March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a measure so that my Column in my table "Letter Due to Supervisor" shows up blank/no date if in the Descritpion shows "Letter Wavied". Trying to get an accurate count of how many rows do have dates showing. But the count is not working because the data is based on a measure.
How do I get it to count correctly?
Table looks like this:
I have Measure to high light "Letter Wavied" in blue:
Not really. You're still showing us the viz table and we need a source table to understand the problem and help you with that. What I've understend from this one is that you have something like this:
Date | Description_1 | Division |
2022-12-28 | Sample description | A |
2022-12-19 | Another description | A |
2022-12-20 | Dummy text | A |
2022-12-21 | Letter Waived | B |
2022-12-20 | Another description | B |
2022-12-19 | Sample description | B |
And you want to achive something like this:
Max date per division | Max of Description_1 | Division | Count rows with max date (?) |
2022-12-20 | Dummy text | A | 3 |
Blank because any of description for division B has description_1 Letter Waived | Letter Waived | B | 0 |
SUM: | 3 |
Is that correct?
Proud to be a Super User!
What forumla did you use to get the count?
Create 2 columns:
Proud to be a Super User!
What am I doing wrong? I created a new column and get this error.
I am using Polish language in DAX, so for me separator is ;
Change all ; to , and it will be working. 🙂
Proud to be a Super User!
That helped but the count is still wrong. It's coming up with 83 and it should be 63
Hi @inglexjc ,
Whether your problem has been resolved? If no, could you please provide some raw data in your table 'Legal Files'(exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Yea I can't share the data source because it has PPI. I'm wanting the count to be a separate visual. But I can try this forumal to see if that will work.
Why are you trying to use the column with dates and not the description column:
Try measure below:
Measure = COUNTROWS(FILTER(Sheet1, Not(CONTAINSSTRING(Sheet1[Description], "Letter Waived"))))
I can have it count the Description as long as it doesn't count where it says "Letter Waived"
Using:
can you share the full dataset with us... if it doesnt contain any sensitive data
IM saying this because it works on the sample dataset you sent
Also in you formula you use a field called Description_1 ... in your message the field is Description (with the _1)
The information has PPI so I can not share it. But those are the columns that I need help with.
Can you post here a pbix file or sample records in the table (not in the viz)?
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
168 | |
116 | |
63 | |
57 | |
50 |