Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I'm comparing 2 columns; [Ticket Number] and [Scan datetime] in the same table.
I need to find the total number of unique tickets with a scan. I came up with the following formula but not sure if its correct....
TotalAccepScan:=CALCULATE(DISTINCTCOUNT(Table_name[TICKET]),Table_name[ACCEPTANCE_DATETIME]<>BLANK())
Solved! Go to Solution.
That's a very difficult question to answer with the information provided @Anonymous . Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
@Greg_Deckler my apologies. Here is sample dataset.
Output result: What is the count of (unique) tickets that have a scan date? My current formula is:
Total_Tickets_With_Scan:=CALCULATE(DISTINCTCOUNT(Table_Name[TICKET]),Table_Name[SCAN_DATETIME]<>BLANK())
Hope that made sense.
| TICKET | SCAN_DATETIME |
| FF166549317 | 28/04/2020 12:52 |
| FF166549626 | |
| FF166549820 | |
| FF166550071 | |
| FF166550329 | 28/04/2020 12:51 |
| FF166550394 | |
| FF166550403 | |
| FF166550448 | 28/04/2020 16:53 |
| FF166551125 | 28/04/2020 17:53 |
| FF166551545 |
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 8 | |
| 8 |