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
Anonymous
Not applicable

Row should be populated as Blank if a value Layer is Extraction

Hi,

I have a table as shown below:

LayerSource CountTarget CountDeltaDelta%
Ingestion123451234500.00
extraction 2345623456100
extraction 45674567100
integration 56755675100

 

when the Layer is equal to 'extraction' the the Delta% percentage is showing as 100.

I need to make Delta% column blank whenever the layer is Extraction.

The output should look like below:

LayerSource CountTarget CountDeltaDelta%
Ingestion123451234500.00
extraction 2345623456 
extraction 45674567 
integration 56755675100

used measure for Delta% column.

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You could try the following measure:

Delta% =
CALCULATE (
    DIVIDE (
        SELECTEDVALUE ( 'Table'[Delta] ),
        SELECTEDVALUE ( 'Table'[Target Count] )
    ),
    FILTER ( 'Table', 'Table'[Layer] <> "extraction" )
)

Then select "Show items with no data".

2-1.PNG

Here is the result.

2-2.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You could try the following measure:

Delta% =
CALCULATE (
    DIVIDE (
        SELECTEDVALUE ( 'Table'[Delta] ),
        SELECTEDVALUE ( 'Table'[Target Count] )
    ),
    FILTER ( 'Table', 'Table'[Layer] <> "extraction" )
)

Then select "Show items with no data".

2-1.PNG

Here is the result.

2-2.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
DataInsights
Super User
Super User

Try this (where [Delta Measure] is your measure for calculating delta):

 

Delta % =
IF ( SELECTEDVALUE ( Layer[Layer] ) = "Extraction", BLANK (), [Delta Measure] )

 





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

Proud to be a Super User!




Fowmy
Super User
Super User

@Anonymous 

Try:

=IF(Max(Table[Layer])="extraction",Blank(), [Delta%])

If you are satisfied with my answer, please mark it as a solution so others can easily find it.

Don't forget to give KUDOS ? to replies that help answer your questions


Subscribe to ExcelFort: Learn Power BI, Power Query and Excel


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.