Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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....
User | Count |
---|---|
97 | |
73 | |
69 | |
43 | |
23 |