Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
DVannurVali
Frequent Visitor

Assistance Needed on G/R Table – Total Column.

Hi Team, Good Morning!!

I hope you're all doing well.

I have a table like below:

 

G/RJan-25Feb-25Mar-25Apr-25May-25Total
Sales380955958.5306713898.6306383067.8283803268.451632333.221329488527
MoM▲ 4%▼ -19%▼ 0%▼ -7%▼ -82%▼ -82%
YoY▼ -6%▼ -3%▲ 3%▼ -2%▼ -81%▼ -16%

 

In the above table total needs to adjust  MoM total as "-"

Note: instead of ▼-82% i need to show as "-" 

Finally i need output as below. Total column i just turnoned Column Subtotals.

DVannurVali_0-1746760759741.png

 

Could you please guide me on how to approach this?


Thank you in advance!


Best regards,
Vannur Vali.

1 ACCEPTED SOLUTION
pankajnamekar25
Memorable Member
Memorable Member

MoM_Display =

VAR _MoM = [MoM]  -- your existing MoM calculation

RETURN

IF(

    ISINSCOPE('Date'[MonthYear]),  -- or the relevant column used on Columns in Matrix

    _MoM,

    BLANK()  -- or return a custom text "-" with formatting

)

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

View solution in original post

4 REPLIES 4
v-ssriganesh
Community Support
Community Support

Hello @DVannurVali,
Thank you for reaching out to the Microsoft Fabric Forum Community.

I have reproduced your scenario in Power BI, and I was able to achieve the expected output as per your requirements.

Output:

vssriganesh_0-1746774304858.png

For your reference, I have attached the .pbix file containing the solution. You can review the measures, data model, and matrix’s visual setup to see how the expected output was achieved.

If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.

danextian
Super User
Super User

Hi @DVannurVali 

 

You can use a conditional dynamic format string:

IF ( NOT ( ISINSCOPE ( Dates[Month and Year] ) ), "-", "#,0" )

danextian_1-1746769674776.png

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
pankajnamekar25
Memorable Member
Memorable Member

MoM_Display =

VAR _MoM = [MoM]  -- your existing MoM calculation

RETURN

IF(

    ISINSCOPE('Date'[MonthYear]),  -- or the relevant column used on Columns in Matrix

    _MoM,

    BLANK()  -- or return a custom text "-" with formatting

)

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

Dear @pankajnamekar25 ,  

Thank you for your prompt response. It is working as expected.


Best regards,
Vannur Vali

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.