Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I want to make a measure to count how many uniqe "Numbers" That has a value from the colon: "Special"
Solved! Go to Solution.
Hi,
Quick solution would be to Pivot the Special and Number columns using a count not blank? Not sure if you have a specific layout required post count or not.
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Number", Int64.Type}, {"Special", Int64.Type}}),
#"Pivoted Column" = Table.Pivot(Table.TransformColumnTypes(#"Changed Type", {{"Number", type text}}, "en-GB"), List.Distinct(Table.TransformColumnTypes(#"Changed Type", {{"Number", type text}}, "en-GB")[Number]), "Number", "Special", List.NonNullCount)
in
#"Pivoted Column"
Thanks,
Hi,
Quick solution would be to Pivot the Special and Number columns using a count not blank? Not sure if you have a specific layout required post count or not.
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Number", Int64.Type}, {"Special", Int64.Type}}),
#"Pivoted Column" = Table.Pivot(Table.TransformColumnTypes(#"Changed Type", {{"Number", type text}}, "en-GB"), List.Distinct(Table.TransformColumnTypes(#"Changed Type", {{"Number", type text}}, "en-GB")[Number]), "Number", "Special", List.NonNullCount)
in
#"Pivoted Column"
Thanks,
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
8 | |
7 | |
6 | |
6 |