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,
using switch function
In follwoing scenarion ...
If(SELECTEDVALUE('ADMIN_step2_cost centers'[Group ])<>"Admin","ABC",0)
Total="ABC"
How to refer to Total column in the following scenario...
If(SELECTEDVALUE('ADMIN_step2_cost centers'[Group ])="Total","ABC",0)
to have
Total="ABC"
The "Total" is not included in ADMIN_step2_cost centers'[Group ], is Total of the matrix
thx for your reply!
Hey @Anonymous ,
you can check with the ISFILTERED function if there is a filter context for the column. If there is no filter it should be the total.
So try:
myMeasure =
IF(
NOT ( ISFILTERED( 'ADMIN_step2_cost centers'[Group ] ) ),
"ABC",
0
)
Unfortunately Total is treated as other columns.
As a result there are:
0 for NOT ISFIlTRED
ABC for ISFILTRED
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |