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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors