Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all experts,
I would need to create a dynamic title.
The slicer selection has A, B, C, D.
If all selected, the title is all.
If A,B,D, selected, the title is Group 1
Otherwise, the title based on selection. If A, is selected, the title is A. If B is selected, the title is B. If A & C, selected, the title is A&C and etc...
How to write this condition in the dax format?
try this:
Measure =
VAR _A =
ADDCOLUMNS ( 'Table', "UNI", 10 ^ ( UNICODE ( MAX ( 'Table'[Item] ) ) - 64 ) )
VAR _B =
SUMX ( _A, [UNI] )
RETURN
IF ( _B = 30000, "Group 1", IF ( _B = 40000, "All", MAX ( 'Table'[Item] ) ) )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
I am new to BI and i do not understand how the formula works on the question i post.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
19 | |
7 | |
6 | |
5 | |
4 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |