Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
I have a text field that has a the value max-age=63072000;includeSubdomains and sometimes it is max-age=63072000;includeSubdomains; preload
I want to count together the max-age=63072000;includeSubdomains and the max-age=63072000;includeSubdomains; preload as okay. How can I do that, I have
Solved! Go to Solution.
Hi @xad, you can use Containsstring() fucntion (CONTAINSSTRING function (DAX) - DAX | Microsoft Learn )
HSTS_OKAY =
IF(
CONTAINSSTRING( 'Table'[Value], "max-age=63072000;includeSubdomains" ) = TRUE(),
"HSTS Good",
"HSTS is NOT OKAY"
)
This will give you the following result:
Good luck!
Thank You Sergii24 !! I will try
Hi @xad, you can use Containsstring() fucntion (CONTAINSSTRING function (DAX) - DAX | Microsoft Learn )
HSTS_OKAY =
IF(
CONTAINSSTRING( 'Table'[Value], "max-age=63072000;includeSubdomains" ) = TRUE(),
"HSTS Good",
"HSTS is NOT OKAY"
)
This will give you the following result:
Good luck!
User | Count |
---|---|
72 | |
68 | |
67 | |
44 | |
42 |
User | Count |
---|---|
47 | |
38 | |
28 | |
27 | |
27 |