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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
PBI_Monkey
Helper I
Helper I

Measure Total in Table not Showing

Hi All,

 

I have a table with 2 measures.

The one measure called 'Num Twice' is not showing the Total at the bottom of the table.

Total not showing for the 'Num Twice' Measure.Total not showing for the 'Num Twice' Measure.https://www.dropbox.com/s/gv6tt6qyp140574/Total%20Not%20Showing%20in%20Table.pbix?dl=0 

I've looked through the community at a number of solutions which may help, like using Summarize and SUMX, but it keeps giving me the same result.

I've also attached the sample .PBIX file.

 

Any ideas would be greatly appreciated.

 

Thanks so much.

 

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@PBI_Monkey 

 

Num Twice = 
SUMX(
    VALUES(Sheet1[ID]),
    CALCULATE(
        IF([Num PC] < 1, 
        Sheet1[Total Contacts]),
            Sheet1[Contact Type] = "Twice"
))

 


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png

Showcase Report – Contoso By SpartaBI


SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Full-Logo11.png

View solution in original post

3 REPLIES 3
PBI_Monkey
Helper I
Helper I

Beautiful, thanks SpartaBI. 

Works well. 🙂

@PBI_Monkey my pleasure 🙂
Hey, check out my showcase report:
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543
Give it a thumbs up if you liked it 🙂

SpartaBI
Community Champion
Community Champion

@PBI_Monkey 

 

Num Twice = 
SUMX(
    VALUES(Sheet1[ID]),
    CALCULATE(
        IF([Num PC] < 1, 
        Sheet1[Total Contacts]),
            Sheet1[Contact Type] = "Twice"
))

 


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png

Showcase Report – Contoso By SpartaBI


SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Full-Logo11.png

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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