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
mich32
Frequent Visitor

How to get value to show for one row

Hi there,
I would like to get the mesaure that I created to only be show for Indicator A only (in BOLD).  As you can see the measure repeats for the other indicators, but this is not the result I need (and I put a strikethrough through them).  I provided the DAX that I used to get my total count for the last 12 months.  Thank you community!

 

IndicatorPts AvailExcel IsCount for last 12 months
A  7191
B1≨ 1.007191
C207191
D3≨ 20.07191
E407191
F5≩ 807191
G6≩ 957191
H707191
 
Count for last 12 months =

CALCULATE(COUNTA('Result Table'[Tickets #]),
DATESINPERIOD (
'Result Table'[REPORTDATE],           -- returns period from date column
MAX('Result Table'[REPORTDATE]), -- starting from MAX date
-364,                                                -- shifting it back 364 intervals
DAY                                                 -- each interval being a month
)
)



1 ACCEPTED SOLUTION
mich32
Frequent Visitor

For the community's knowledge, I solved this by selecting Show Items with No Data in the Indicator column on the Visualization pane.

View solution in original post

3 REPLIES 3
mich32
Frequent Visitor

For the community's knowledge, I solved this by selecting Show Items with No Data in the Indicator column on the Visualization pane.

v-stephen-msft
Community Support
Community Support

Hi @mich32 ,

 

Try adding an IF judgment statement. For example, if you want a measure,

IF(MAX('TableName'[Indicator]) = "A", ..., ...)

If you want a calculated column,

IF('TableName'[Indicator] = "A", ..., ...)

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Ashish_Mathur
Super User
Super User

Hi,

Your question is not at all clear.  Share some data, describe the question and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.