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... I am struggling with matrix visual in power bi where i have to hide some totals and display some as shown below. if i change the color of the text to be white in specifc column setting is not working for me as it changes the header back to white but i need that to be formatted as orange. any idea how i can acheive this and also balck line above the totals.
Solved! Go to Solution.
@jostnachs Please pass in the column you have on the row headers insided Selectedvalue in your case it might be Date column
My Sales =
var a = SUM(FactMyLedger[_Opening])
RETURN
IF(SELECTEDVALUE(FactMyLedger[Date]) <> BLANK() , a,BLANK())
Did I answer your question ? Please mark this post as a solution.
Thanks,
Jai
Proud to be a Super User! | |
@jostnachs If you are using measures to display the columns in the visuals you can include SELECTEDVALUE() function in your DAX so that it will not show a total row for that metric. If you are using selectedvalue the totals will now show up. Refer my sample dax below
My Sales =
var a = SUM(financials[ Sales])
RETURN
IF(SELECTEDVALUE(financials[Product]) <> BLANK() , a,BLANK())
Did I answer your question ? Please mark this post as a solution.
Thanks,
Jai
Proud to be a Super User! | |
i tried and it is giving me all blank values
@jostnachs Please pass in the column you have on the row headers insided Selectedvalue in your case it might be Date column
My Sales =
var a = SUM(FactMyLedger[_Opening])
RETURN
IF(SELECTEDVALUE(FactMyLedger[Date]) <> BLANK() , a,BLANK())
Did I answer your question ? Please mark this post as a solution.
Thanks,
Jai
Proud to be a Super User! | |
Great! Thank you... worked like a charm....
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 |
---|---|
68 | |
64 | |
50 | |
36 | |
26 |
User | Count |
---|---|
80 | |
57 | |
45 | |
44 | |
35 |