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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.