Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi All,
Column [Order] = Original Data Set, contains duplicates, type whole number.
Column [TECO] = type TRUE/FALSE, added in the query.
I need to FILTER column [TECO] for TRUE and then DISTINCTCOUNT column [Order] so that I have a unique count of [Order] = TRUE... no count of duplicate [Order].
Order TECO
| 401103218 | TRUE |
| 401103220 | FALSE |
| 401103222 | FALSE |
| 401103227 | TRUE |
| 401103471 | TRUE |
| 401103471 | TRUE |
This is the formula that I wrote:
I thought this was working but after checking it is returning a much higher number than it should. I have tried and continue to try various combinations of functions but it either returns an incorrect number or it is an illegal combination.
Any help appreciated.
Solved! Go to Solution.
OK... I apologise if you are looking into this issue for me... it's taken me all day but it was a mistake in my relationship model. Sorry!!!!
OK... I apologise if you are looking into this issue for me... it's taken me all day but it was a mistake in my relationship model. Sorry!!!!
Ah, no worries. I'm just glad you solved it
Hi,
Are you creating a measure or a calculated column?
If it's a calculated column, make it a measure instead
Hi Gordonlilj,
It is a measure not a column.
Regards,
Moby
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 64 | |
| 31 | |
| 29 | |
| 24 |