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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Zakaria_1980
Post Patron
Post Patron

help please

Hi,

please I need your support. i have integrated some Data into PBI and i succedded to get the same view below that i get from Excel, but the question here, is there any possibility to replace all the 1 with Due and keep the total per LM and per Country counting the number of Due ?

 

Untitled.png

 

Thanks in advance.

 

 

 

 

 

2 REPLIES 2
V-pazhen-msft
Community Support
Community Support

@Zakaria_1980 

You can create a measure: 

 

2020part1 = IF(HASONEVALUE('Table'[Email]),"Due",COUNT('Table'[2021-part1]))
 

Vpazhenmsft_0-1631774113682.png

Vpazhenmsft_1-1631774194596.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@Zakaria_1980 , You can use isinscope to switch total

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

 

But I am not fully sure what you want. Can you share sample data and sample output in table format?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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