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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
pedrohenriquewe
Regular Visitor

DAX HELP !

pedrohenriquewe_0-1682623783910.png

These are my tables:
Issues_storylevel (dimension)

key
key-1
key-2
key-3 ...


History (fact)

key-1A01/01/2023
key-1B01/01/2023
key-1Block03/01/2023
key-1C04/01/2023
key-1Block06/01/2023
key-2A02/01/2023
key-2B

03/01/2023

key-2Block

04/01/2023

 

I wanna know the status that the Issue (row-key) was when it has been blocked. The expected result is a table like that:

StatusValue
A1
B2







4 REPLIES 4
Anonymous
Not applicable

Hi @pedrohenriquewe ,

Please consider adding a index column in powerquery editor and then create a calculated column.

vcgaomsft_0-1683261945119.png

and then create a table visual.

vcgaomsft_1-1683262074402.png

Measure = COUNTROWS('Table')

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Ajendra
Resolver I
Resolver I

Hello Dear,

 

I hope you are doing well!

 

Please find below the SCREEN SHOT it may help you!

1.JPG

 

Here is the demo data which i have used to create this DAX.

2.JPG

 

Wilson_
Super User
Super User

Hello Pedro,

 

Thanks for showing your tables and relationships, and your expected result. Much appreciated. I wanted to confirm a few things about the expected result.

 

What is it displaying? It looks like a count of what status an issue was in when it got blocked? If that's the case, it looks like to me that it should be B 2, C 1? Please let me know what I'm missing.




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

Proud to be a Super User!





Wilson, You are correct, my bad.

The correct result should be B2, C1.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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