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 Everyone,
I'm trying to create a calculated measure in one of my tables that help me count every column that contains the word "Warm".
How can I implement CALCULATE(COUNTROWS to achieve this function?
Thank you
Solved! Go to Solution.
Hi @njxfoster
Try this measure:
Measure =
CALCULATE (
COUNTROWS ( 'Table' ),
FILTER ( 'Table', CONTAINSSTRING ( 'Table'[Connection Details], "Warm" ) )
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi,
Here is one way to do this:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
Proud to be a Super User!
Hi ValtteriN! Thank you for your answer
The table is for phone transfer detail, There is a column about "Connection Details". I need to see how many phone connection is being " Warm transfered" So I was thinking to count columns that contain the word "Warm" .
is there any way to count this without creating new column?
Thanks in advance
Hi @njxfoster
Try this measure:
Measure =
CALCULATE (
COUNTROWS ( 'Table' ),
FILTER ( 'Table', CONTAINSSTRING ( 'Table'[Connection Details], "Warm" ) )
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 12 | |
| 9 | |
| 5 | |
| 5 |