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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
zaidmasad
Helper III
Helper III

Visualizing the measures

Hello,

 

I have created a measure to caluclate the 80th perecentile for a set of data, but now I cant visualize this measure, I only can add it to a table.

This is how it look in the table:

Capture.JPG

 

Now That I know to show the trend of this measure using w chart, how can I do so? it should be like the following chart but for the percentile instead of average:

Capture.JPG

 

Thanks,

Zaid

 

 

1 ACCEPTED SOLUTION

Yep, you got it. I was going to mention that your FORMAT was converting it to text!


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Super User
Super User

Can you share some sample data and your measure formula?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

I have changed the format of the measure before creating it to Whole number and now it works. thanks @Greg_Deckler

Yep, you got it. I was going to mention that your FORMAT was converting it to text!


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler,

 

First I have a column that measures the difference between two dates as below:

 

T1 (Response Time) = IF ( ISBLANK ( [CollectionInProgressDate_UTC] ), BLANK (), var calendarTable= CALENDAR([CREATEDON],[CollectionInProgressDate_UTC])
var exceptDate=CALCULATETABLE(VALUES('Situational Holidays'[situationDate]),FILTER(ALL('Situational Holidays'),[Entity]=EARLIER('Dates'[SHIPPERENTITY])))
var filtered=ADDCOLUMNS(EXCEPT(calendarTable,exceptDate),"Day Of Week",WEEKDAY([Date],1))
return
COUNTROWS(FILTER(filtered,[Day Of Week]<> 'Dates'[First weekend] && [Day Of Week]<>'Dates'[secound weekend]))-1)

Then I have a measure that caluclate the 80th percentile for that column:

 

T1, 80thPercentile = FORMAT( ROUND(PERCENTILE.INC(Dates[T1 (Response Time)],0.8),0),"0")

The problem is that I cant change the format of that measure to number, it is showing as text.

 

 

Thanks,

Zaid

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.