Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Everyone
I'm having trouble indexing a temporary table generated through summarize.
Basically I have two variables: one stores the current cluster, the other one is a table with two columns, the first stores the cluster and the second the number of components for that cluster.
Now what I need to do is to extract the number of components for the current cluster, I wanted to filter the temporary table and use max to get the single value, but i can't index the table as it is stored in a variable.
Ok I used another solution for the previous problem, but I got stuck in the same issue again in another simpler DAX generated table: I created a parameter that represents the month number. I use it in a report so that if I select the month number I get the report for that specific month. Now what I want to do is to upgrade that parameter so that it shows the name of the month instead of the number.
the original parameter is Parametro_Mese = GENERATESERIES(1, 12, 1)
to upgrade it i wanted to do something like
Parametro_Mese =
VAR MONTH_NUMBER = GENERATESERIES(1, 12, 1)
VAR Tabella = ADDCOLUMNS(MONTH_NUMBER,"MONTH_NAME",...
and to use as an expression for the added month_name column a condition such as
IF( n > 0 && n < 13 , -- THEN -- FORMAT(DATEVALUE("2018-" & n & "-1") , "MMM") , -- ELSE -- "Other" )
now my problem is: how do I index the column generated in the var Month_Number to get the n value?
hope this time I made myself clear 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |