Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi Team,
Need help with DAX for dynamic text on Button.
So we have a table
| gear id | sop | confluence path |
| 1 | batch | https://.... |
| 4 | rfb | |
| 8 | job | https://.... |
I want a query that will follow these 4 conditions :
Please note : Confluence path is Web url.
I tried many dax , the problem I am facing is condiotion 2 and 3 are not working together.
my dax :
Solved! Go to Solution.
Hi @FaisalImam ,
According to your description, here's my solution, create a measure.
Measure =
IF (
ISFILTERED ( 'New Sops'[SOP description] ),
IF (
COUNTROWS ( VALUES ( 'New Sops'[SOP description] ) ) > 1,
"Error",
IF (
MAX ( 'New Sops'[Confluence path] ) = BLANK (),
"Not available",
"click to rediect "
)
),
" Choose SOP to view"
)
Get the correct result.
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @FaisalImam ,
In a measure, MAX usually used to return the current row, here it can return the correspongding [Confluence path] to the selected [SOP description].
Best Regards,
Community Support Team _ kalyj
Hi @FaisalImam ,
According to your description, here's my solution, create a measure.
Measure =
IF (
ISFILTERED ( 'New Sops'[SOP description] ),
IF (
COUNTROWS ( VALUES ( 'New Sops'[SOP description] ) ) > 1,
"Error",
IF (
MAX ( 'New Sops'[Confluence path] ) = BLANK (),
"Not available",
"click to rediect "
)
),
" Choose SOP to view"
)
Get the correct result.
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you please explain what is the Max function doing here -
MAX ( 'New Sops'[Confluence path] ) = BLANK (),
Hi @FaisalImam ,
In a measure, MAX usually used to return the current row, here it can return the correspongding [Confluence path] to the selected [SOP description].
Best Regards,
Community Support Team _ kalyj
Something like the following may solve your issue
Proud to be a Super User! | |
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 20 | |
| 17 | |
| 13 | |
| 13 |
| User | Count |
|---|---|
| 62 | |
| 40 | |
| 38 | |
| 38 | |
| 38 |