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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

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
Super User
Super User

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 @Anonymous,
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 @Anonymous 

 

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
Super User
Super User

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.

Anonymous
Not applicable

Dear @pankajnamekar25 ,  

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


Best regards,
Vannur Vali

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.